mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-19 07:34:04 +08:00
feat: load file sub
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -5,6 +5,11 @@ class Subtitle {
|
||||
String? subtitleUrlV2;
|
||||
bool isAi = false;
|
||||
|
||||
Subtitle({
|
||||
required this.lan,
|
||||
this.lanDoc,
|
||||
});
|
||||
|
||||
Subtitle.fromJson(Map<String, dynamic> json) {
|
||||
lan = json["lan"];
|
||||
isAi = json["type"] == 1;
|
||||
|
||||
Reference in New Issue
Block a user