forked from eatvio/eatvio_app
feat(recipe): API for recipe create and edit
This commit is contained in:
@@ -472,6 +472,8 @@ class RecipeCreateScreen extends StatelessWidget {
|
||||
image: state.recipeImage?.path,
|
||||
video_url: state.youtubeLinkController.text.isNotEmpty ? state.youtubeLinkController.text : null,
|
||||
);
|
||||
print(recipe.toJson());
|
||||
print(recipe.toString());
|
||||
print(recipe);
|
||||
return recipe;
|
||||
}
|
||||
|
||||
@@ -487,7 +487,6 @@ class RecipeEditScreen extends StatelessWidget {
|
||||
image: state.recipeImage?.path,
|
||||
video_url: state.youtubeLinkController.text.isNotEmpty ? state.youtubeLinkController.text : null,
|
||||
);
|
||||
print(recipe.toJson());
|
||||
return recipe;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user