TTSubtitle.fromJson constructor
Implementation
TTSubtitle.fromJson(Map<String, dynamic> json)
: subtitleId = json['sub_id'],
url = json['url'],
expire = json['expire'] ?? 0,
format = json['format'] ?? "webvtt",
language = json['language'],
languageId = json['language_id'] ?? 0;