Added Streams to TourRepository

This commit is contained in:
Dennis Nemec
2026-01-03 01:29:21 +01:00
parent edb8676f5a
commit 9111dc92db
43 changed files with 1232 additions and 931 deletions

View File

@ -0,0 +1,18 @@
import 'note.dart';
import 'package:json_annotation/json_annotation.dart';
part 'image_note_response.g.dart';
@JsonSerializable(fieldRename: FieldRename.snake)
class ImageNoteDTO {
final String url;
final String oid;
final String name;
ImageNoteDTO({required this.url, required this.oid, required this.name});
factory ImageNoteDTO.fromJson(Map<String, dynamic> json) =>
_$ImageNoteDTOFromJson(json);
Map<dynamic, dynamic> toJson() => _$ImageNoteDTOToJson(this);
}