mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-14 21:24:02 +08:00
20
lib/models_new/video/video_play_info/subtitle.dart
Normal file
20
lib/models_new/video/video_play_info/subtitle.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
class Subtitle {
|
||||
String? lan;
|
||||
String? lanDoc;
|
||||
String? subtitleUrl;
|
||||
String? subtitleUrlV2;
|
||||
|
||||
Subtitle({
|
||||
this.lan,
|
||||
this.lanDoc,
|
||||
this.subtitleUrl,
|
||||
this.subtitleUrlV2,
|
||||
});
|
||||
|
||||
factory Subtitle.fromJson(Map<String, dynamic> json) => Subtitle(
|
||||
lan: json["lan"],
|
||||
lanDoc: json["lan_doc"],
|
||||
subtitleUrl: json["subtitle_url"],
|
||||
subtitleUrlV2: json["subtitle_url_v2"],
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user