forked from eatvio/eatvio_app
15 lines
382 B
Dart
15 lines
382 B
Dart
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'diary_index_model.freezed.dart';
|
|
|
|
part 'diary_index_model.g.dart';
|
|
|
|
@freezed
|
|
abstract class DiaryIndexModel with _$DiaryIndexModel {
|
|
const factory DiaryIndexModel({
|
|
required int id,
|
|
}) = _DiaryIndexModel;
|
|
|
|
factory DiaryIndexModel.fromJson(Map<String, Object?> json) => _$DiaryIndexModelFromJson(json);
|
|
}
|