mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: show total season/series
Closes #164 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user