AllergensWrapper

class AllergensWrapper(allergens: List<EntityResponse<Allergen>>) : EntityWrapper<Allergen>

JSON from URL https://ssl-api.openfoodfacts.org/data/taxonomies/allergens.json (top 14 allergens and substances)

Author

Lobster

ross-holloway94 2018-03-14

Constructors

Link copied to clipboard
fun AllergensWrapper(allergens: List<EntityResponse<Allergen>>)

Functions

Link copied to clipboard
open fun map(): List<Allergen>