added provider for recipe wizard

This commit is contained in:
2025-02-10 19:55:18 +01:00
parent f72e9dae2b
commit d2e3b158cb
6 changed files with 226 additions and 12 deletions

View File

@@ -13,4 +13,12 @@ class Ingredient {
this.possibleUnits = const [],
this.preferredBrands = const [],
});
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is Ingredient && other.title == title && other.type == type;
@override
int get hashCode => Object.hash(title, type);
}