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