forked from eatvio/eatvio_app
fix(plans, recipes): added new end points for plans and recipes creation
This commit is contained in:
@@ -10,6 +10,7 @@ class Ingredient with _$Ingredient {
|
||||
required String name,
|
||||
required String unit,
|
||||
required String portion,
|
||||
@JsonKey(name: 'product_nutritional_id') required int productId,
|
||||
}) = _Ingredient;
|
||||
|
||||
factory Ingredient.fromJson(Map<String, Object?> json) => _$IngredientFromJson(json);
|
||||
|
||||
Reference in New Issue
Block a user