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