forked from eatvio/eatvio_app
feat(diary): add diary page, calendar, meals
This commit is contained in:
14
lib/features/diary/models/diary_index_model.dart
Normal file
14
lib/features/diary/models/diary_index_model.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'diary_index_model.freezed.dart';
|
||||
|
||||
part 'diary_index_model.g.dart';
|
||||
|
||||
@freezed
|
||||
class DiaryIndexModel with _$DiaryIndexModel {
|
||||
const factory DiaryIndexModel({
|
||||
required int id,
|
||||
}) = _DiaryIndexModel;
|
||||
|
||||
factory DiaryIndexModel.fromJson(Map<String, Object?> json) => _$DiaryIndexModelFromJson(json);
|
||||
}
|
||||
Reference in New Issue
Block a user