toJsonFromList static method

List toJsonFromList(
  1. List<HLSManifestLanguage> languages
)

Implementation

static List<dynamic> toJsonFromList(List<HLSManifestLanguage> languages) {
  return languages.map((a) => a.toJson()).toList();
}