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