Files
eatvio_app/lib/features/calendar/models/calendar_model.dart
2024-09-11 16:39:15 +03:00

17 lines
453 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);
}