parseSubtitles static method

List<TTSubtitle> parseSubtitles(
  1. Map<String, dynamic> json
)

Implementation

static List<TTSubtitle> parseSubtitles(Map<String, dynamic> json) {
  return (json["list"] as List).map((item) => TTSubtitle.fromJson(item)).toList();
}