Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -6,8 +6,8 @@ class BadgeInfo {
BadgeInfo({this.bgColor, this.bgColorNight, this.text});
factory BadgeInfo.fromJson(Map<String, dynamic> json) => BadgeInfo(
bgColor: json['bg_color'] as String?,
bgColorNight: json['bg_color_night'] as String?,
text: json['text'] as String?,
);
bgColor: json['bg_color'] as String?,
bgColorNight: json['bg_color_night'] as String?,
text: json['text'] as String?,
);
}

View File

@@ -8,10 +8,10 @@ class Data {
Data({this.list, this.note, this.seasonType});
factory Data.fromJson(Map<String, dynamic> json) => Data(
list: (json['list'] as List<dynamic>?)
?.map((e) => PgcRankItemModel.fromJson(e as Map<String, dynamic>))
.toList(),
note: json['note'] as String?,
seasonType: json['season_type'] as int?,
);
list: (json['list'] as List<dynamic>?)
?.map((e) => PgcRankItemModel.fromJson(e as Map<String, dynamic>))
.toList(),
note: json['note'] as String?,
seasonType: json['season_type'] as int?,
);
}

View File

@@ -5,7 +5,7 @@ class IconFont {
IconFont({this.name, this.text});
factory IconFont.fromJson(Map<String, dynamic> json) => IconFont(
name: json['name'] as String?,
text: json['text'] as String?,
);
name: json['name'] as String?,
text: json['text'] as String?,
);
}

View File

@@ -5,7 +5,7 @@ class NewEp {
NewEp({this.cover, this.indexShow});
factory NewEp.fromJson(Map<String, dynamic> json) => NewEp(
cover: json['cover'] as String?,
indexShow: json['index_show'] as String?,
);
cover: json['cover'] as String?,
indexShow: json['index_show'] as String?,
);
}

View File

@@ -7,9 +7,9 @@ class Stat {
Stat({this.danmaku, this.follow, this.seriesFollow, this.view});
factory Stat.fromJson(Map<String, dynamic> json) => Stat(
danmaku: json['danmaku'] as int?,
follow: (json['follow'] as int?) ?? 0,
seriesFollow: json['series_follow'] as int?,
view: (json['view'] as int?) ?? 0,
);
danmaku: json['danmaku'] as int?,
follow: (json['follow'] as int?) ?? 0,
seriesFollow: json['series_follow'] as int?,
view: (json['view'] as int?) ?? 0,
);
}