feat: show total season/series

Closes #164

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-14 15:22:56 +08:00
parent ba8d7b871c
commit 5983670c83
10 changed files with 303 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ class Data {
dynamic digitalButton;
dynamic entry;
dynamic live;
UgcSeason? ugcSeason;
Data({
this.relation,
@@ -79,9 +80,22 @@ class Data {
this.digitalButton,
this.entry,
this.live,
this.ugcSeason,
});
factory Data.fromJson(Map<String, dynamic> json) => _$DataFromJson(json);
Map<String, dynamic> toJson() => _$DataToJson(this);
}
class UgcSeason {
int? count;
UgcSeason({
this.count,
});
UgcSeason.fromJson(Map<String, dynamic> json) {
count = json['count'];
}
}