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