mapFromJson static method
Implementation
static Map<String, CancelledModel> mapFromJson(dynamic json) {
final map = <String, CancelledModel>{};
if (json is Map && json.isNotEmpty) {
json.cast<String, dynamic>().forEach(
(key, dynamic value) => map[key] = CancelledModel.fromJson(value));
}
return map;
}