fromJson method
Apply/Clone from json object
- Trigger save unless wrapped in noSave
- Override this if using nested type/object and remember to add notifyListeners
Implementation
@override
void fromJson(Map<String, dynamic> jsonObj, {bool debug = false}) {
try {
super.fromJson(jsonObj, debug: debug);
notifyListeners();
} catch (e) {
lazy.log('$runtimeType.fromJson():catch():$e');
}
}