Erweiterungen

This commit is contained in:
Sven committed 2024-01-18 10:41:01 +01:00
1 parent 550c11cb58
commit fcda77177a
9 files changed
+1275 -13

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import 'package:isar/isar.dart';
import 'package:json_annotation/json_annotation.dart';
part 'message.g.dart';
@collection
@JsonSerializable()
class Message {
late Id id;
late String time;
late String from;
late String subj;
late List<String> text;
Message();
factory Message.fromJson(Map<String, dynamic> json) => _$MessageFromJson(json);
Map<String, dynamic> toJson() => _$MessageToJson(this);
}