mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-21 11:00:13 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
20
lib/models/play_info/subtitle.dart
Normal file
20
lib/models/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