forked from eatvio/eatvio_app
# Conflicts: # lib/features/calendar/presentation/pages/calendar_screen.dart # lib/features/diary/presentation/pages/diary_screen.dart
16 lines
452 B
Dart
16 lines
452 B
Dart
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'calendar_model.freezed.dart';
|
|
part 'calendar_model.g.dart';
|
|
|
|
@freezed
|
|
class CalendarModel with _$CalendarModel {
|
|
const factory CalendarModel({
|
|
required String date,
|
|
required bool is_current_day_included_in_the_chosen_diet_progression,
|
|
Object? diary,
|
|
}) = _CalendarModel;
|
|
|
|
factory CalendarModel.fromJson(Map<String, Object?> json) => _$CalendarModelFromJson(json);
|
|
}
|