forked from eatvio/eatvio_app
18 lines
380 B
Dart
18 lines
380 B
Dart
import 'package:eatvio_app/features/recipes/models/image.dart';
|
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'step.freezed.dart';
|
|
|
|
part 'step.g.dart';
|
|
|
|
@freezed
|
|
class Step with _$Step {
|
|
const factory Step({
|
|
int? id,
|
|
Image? image,
|
|
String? description,
|
|
}) = _Step;
|
|
|
|
factory Step.fromJson(Map<String, Object?> json) => _$StepFromJson(json);
|
|
}
|