feat: load file sub

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-10 11:22:07 +08:00
parent ffd4f9ee73
commit 963181fef2
5 changed files with 136 additions and 55 deletions

View File

@@ -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;