mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
#157 new: icloud sync
This commit is contained in:
7
lib/data/model/app/json.dart
Normal file
7
lib/data/model/app/json.dart
Normal file
@@ -0,0 +1,7 @@
|
||||
abstract class JsonSerializable<T> {
|
||||
/// Convert [this] to json
|
||||
Map<String, dynamic> toJson();
|
||||
|
||||
/// Create [this] from json
|
||||
T fromJson(Map<String, dynamic> json);
|
||||
}
|
||||
Reference in New Issue
Block a user