changed up the way that ingredients can be added
This commit is contained in:
@@ -2,12 +2,12 @@ import 'unit.dart';
|
||||
|
||||
class Ingredient {
|
||||
final String title;
|
||||
List<Unit> possibleUnits = [];
|
||||
List<String> preferredBrands = [];
|
||||
List<Unit> possibleUnits;
|
||||
List<String> preferredBrands;
|
||||
|
||||
Ingredient({
|
||||
required this.title,
|
||||
required this.possibleUnits,
|
||||
required this.preferredBrands,
|
||||
this.preferredBrands = const [],
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user