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