forked from eatvio/eatvio_app
15 lines
337 B
Dart
15 lines
337 B
Dart
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'state.freezed.dart';
|
|
part 'state.g.dart';
|
|
|
|
@freezed
|
|
class State with _$State {
|
|
const factory State({
|
|
required bool has_chosen_diet,
|
|
required bool has_chosen_plan,
|
|
}) = _State;
|
|
|
|
factory State.fromJson(Map<String, Object?> json) => _$StateFromJson(json);
|
|
}
|