summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/models/recipe.dart4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/recipe.dart b/lib/models/recipe.dart
index 2ca1bb2..5717509 100755
--- a/lib/models/recipe.dart
+++ b/lib/models/recipe.dart
@@ -12,8 +12,6 @@ class Recipe {
final String tutorial;
- Recipe({this.name,this.desc,this.description,this.image,this.ingredients,this.tutorial});
-
static List<Recipe> allRecipes()
{
var listOfRecipes = new List<Recipe>();
@@ -69,4 +67,6 @@ class Recipe {
return listOfRecipes;
}
+
+ Recipe({this.name, this.desc, this.description, this.image, this.ingredients, this.tutorial});
}