Initial draft

This commit is contained in:
Dennis Nemec
2025-09-20 16:14:06 +02:00
commit b19a6e1cd4
219 changed files with 10317 additions and 0 deletions

16
lib/dto/note.dart Normal file
View File

@ -0,0 +1,16 @@
import 'package:json_annotation/json_annotation.dart';
part 'note.g.dart';
@JsonSerializable(fieldRename: FieldRename.snake)
class NoteDTO {
NoteDTO(
{required this.id,
required this.note});
final String id;
final String note;
factory NoteDTO.fromJson(Map<String, dynamic> json) => _$NoteDTOFromJson(json);
Map<dynamic, dynamic> toJson() => _$NoteDTOToJson(this);
}