mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 11:41:09 +08:00
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user