Meal
data class Meal(val idMeal: String, val strMeal: String, val strMealAlternate: String? = null, val strCategory: String? = null, val strArea: String? = null, val strInstructions: String? = null, val strMealThumb: String? = null, val strTags: String? = null, val strYoutube: String? = null, val ingredients: MutableList<String>? = null, val measures: List<String>? = null, val strSource: String? = null, val strImageSource: String? = null, val strCreativeCommonsConfirmed: String? = null, val dateModified: String? = null)
a representation of the json response from the API a lot of the main properties are listed
Parameters
id Meal
used to search and query more info about the meal
str Meal
name of the meal, can be used the same way as idMeal
str Meal Thumb
the image url. A separate request must be done to obtain the actual image]
ingredients
which the user can add to the Fridge
Constructors
Link copied to clipboard
constructor(idMeal: String, strMeal: String, strMealAlternate: String? = null, strCategory: String? = null, strArea: String? = null, strInstructions: String? = null, strMealThumb: String? = null, strTags: String? = null, strYoutube: String? = null, ingredients: MutableList<String>? = null, measures: List<String>? = null, strSource: String? = null, strImageSource: String? = null, strCreativeCommonsConfirmed: String? = null, dateModified: String? = null)