forked from eatvio/eatvio_app
feat(diary): added v2 methods for diary
This commit is contained in:
11
lib/features/diary/models/get_day_model.dart
Normal file
11
lib/features/diary/models/get_day_model.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'get_day_model.freezed.dart';
|
||||
part 'get_day_model.g.dart';
|
||||
|
||||
@freezed
|
||||
abstract class GetDayModel with _$GetDayModel {
|
||||
factory GetDayModel({required String day}) = _GetDayModel;
|
||||
|
||||
factory GetDayModel.fromJson(Map<String, dynamic> json) => _$GetDayModelFromJson(json);
|
||||
}
|
||||
Reference in New Issue
Block a user