opt: unify fav & coin of video & pgc (#916)

This commit is contained in:
My-Responsitories
2025-07-31 20:16:42 +08:00
committed by GitHub
parent e945daba3a
commit 05c9269531
15 changed files with 194 additions and 316 deletions

View File

@@ -17,7 +17,7 @@ class Season {
int? seasonId;
String? seasonTitle;
int? seasonType;
Stat? stat;
PgcStat? stat;
Season({
this.badge,
@@ -58,6 +58,6 @@ class Season {
seasonType: json['season_type'] as int?,
stat: json['stat'] == null
? null
: Stat.fromJson(json['stat'] as Map<String, dynamic>),
: PgcStat.fromJson(json['stat'] as Map<String, dynamic>),
);
}