created different models

This commit is contained in:
2025-02-06 16:25:22 +01:00
parent 590666744f
commit f72e9dae2b
6 changed files with 353 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import 'ingredient.dart';
import 'unit.dart';
class IngredientListEntry {
final Ingredient ingredient;
final int amount;
final Unit unit;
final bool optional;
IngredientListEntry(this.ingredient, this.amount, this.unit, this.optional);
}