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