added provider for recipe wizard
This commit is contained in:
@@ -8,4 +8,14 @@ class IngredientListEntry {
|
||||
final bool optional;
|
||||
|
||||
IngredientListEntry(this.ingredient, this.amount, this.unit, this.optional);
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is IngredientListEntry &&
|
||||
ingredient == other.ingredient &&
|
||||
amount == other.amount;
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(ingredient.hashCode, amount.hashCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user