getMealByCategory

suspend fun getMealByCategory(mutableMeals: SnapshotStateList<Meal?>, category: String)

given a category (e.g beef, vegan, ...) it will fetch the meals from that category and append them to the list

Parameters

mutableMeals

list to append the Meals

category