Refactored json storage

This commit is contained in:
gltron committed 2024-02-17 14:16:07 +01:00
1 parent 1a7f28703a
commit b2da8436e4
29 files changed
+389 -235

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
abstract class Json {
Map<String, dynamic> toJson();
String getJsonFileName();
}
abstract class JsonFactory<T extends Json> {
T fromJson(Map<String, dynamic> json);
}