refactored cooking steps

This commit is contained in:
SomnusVeritas
2023-10-17 22:25:48 +02:00
parent 31a5933919
commit 7a8e6a3c65
4 changed files with 14 additions and 15 deletions

View File

@@ -1,13 +1,13 @@
import 'difficulty.dart';
import 'ingredient.dart';
import 'steps.dart';
import 'cooking_step.dart';
class Recipe {
final String title;
final String description;
final Difficulty? difficulty;
final List<Ingredient> ingredients = [];
final Steps steps = Steps();
final List<CookingStep> steps = [];
Recipe({
required this.title,