toJsonFromList static method

List toJsonFromList(
  1. List<TextTrack> tracks
)

Implementation

static List<dynamic> toJsonFromList(List<TextTrack> tracks) {
  return tracks.map((t) => t.toJson()).toList();
}