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