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