made difficulty nullable
This commit is contained in:
@@ -6,7 +6,7 @@ class Recipe {
|
|||||||
this.id = -1,
|
this.id = -1,
|
||||||
this.title = '',
|
this.title = '',
|
||||||
this.description = '',
|
this.description = '',
|
||||||
this.difficulty = Difficulty.notSelected,
|
this.difficulty,
|
||||||
required this.datePublished,
|
required this.datePublished,
|
||||||
this.prepTime = const Duration(),
|
this.prepTime = const Duration(),
|
||||||
this.cookTime = const Duration(),
|
this.cookTime = const Duration(),
|
||||||
@@ -22,7 +22,7 @@ class Recipe {
|
|||||||
final Cuisine? cuisine;
|
final Cuisine? cuisine;
|
||||||
final DateTime datePublished;
|
final DateTime datePublished;
|
||||||
final String description;
|
final String description;
|
||||||
final Difficulty difficulty;
|
final Difficulty? difficulty;
|
||||||
final int id;
|
final int id;
|
||||||
final List<IngredientListEntry> ingredients;
|
final List<IngredientListEntry> ingredients;
|
||||||
final List<String> keywords;
|
final List<String> keywords;
|
||||||
|
|||||||
Reference in New Issue
Block a user