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