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