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