fix(plans, recipes): added new end points for plans and recipes creation

This commit is contained in:
Username1548
2025-05-19 21:23:13 +07:00
parent cffa48d2ca
commit b942168167
13 changed files with 460 additions and 193 deletions

View File

@@ -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);