mod: member archive: show progress

Closes #225

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-11 17:20:54 +08:00
parent 50022ae635
commit 4267a3b8e0
5 changed files with 52 additions and 26 deletions

View File

@@ -60,6 +60,7 @@ class Item {
String? publishTimeText;
List<Badge>? badges;
Map? season;
Map? history;
Item({
this.title,
@@ -97,6 +98,7 @@ class Item {
this.publishTimeText,
this.badges,
this.season,
this.history,
});
factory Item.fromJson(Map<String, dynamic> json) => _$ItemFromJson(json);

View File

@@ -48,6 +48,7 @@ Item _$ItemFromJson(Map<String, dynamic> json) => Item(
?.map((e) => Badge.fromJson(e as Map<String, dynamic>))
.toList(),
season: json['season'],
history: json['history'],
);
Map<String, dynamic> _$ItemToJson(Item instance) => <String, dynamic>{