IngredientsWrapper

class IngredientsWrapper(ingredients: List<EntityResponse<Ingredient>>) : EntityWrapper<Ingredient>

JSON from URL https://ssl-api.openfoodfacts.org/data/taxonomies/ingredients.json

Author

dobriseb 2018-12-21 inspired by AllergensWrapper

Constructors

Link copied to clipboard
fun IngredientsWrapper(ingredients: List<EntityResponse<Ingredient>>)

Functions

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