getMealByIngredient

suspend fun getMealByIngredient(mutableMeals: SnapshotStateList<Meal?>, ingredient: String)

gets a list of Meals that have the ingredient that the user chose

Parameters

mutableMeals

to append the Meals to

ingredient

the name of the ingredient