listFromJson static method
Converts a list of JSON objects to a list of ApiError instances.
@param json The list of JSON objects to convert. @return A list of ApiError instances.
Implementation
static List<ApiError> listFromJson(List<dynamic> json) {
return json.map((value) => ApiError.fromJson(value)).toList();
}