toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "sub_id": subtitleId,
      "url": url,
      "expire": expire ?? 0,
      "format": format,
      "language": language,
      "language_id": languageId ?? 0
    };