Files
PiliPlus/lib/models_new/fav/fav_pgc/stat.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

36 lines
739 B
Dart

class Stat {
int? follow;
int? view;
int? danmaku;
int? reply;
num? coin;
int? seriesFollow;
int? seriesView;
int? likes;
int? favorite;
Stat({
this.follow,
this.view,
this.danmaku,
this.reply,
this.coin,
this.seriesFollow,
this.seriesView,
this.likes,
this.favorite,
});
factory Stat.fromJson(Map<String, dynamic> json) => Stat(
follow: json['follow'] as int?,
view: json['view'] as int?,
danmaku: json['danmaku'] as int?,
reply: json['reply'] as int?,
coin: json['coin'] as num?,
seriesFollow: json['series_follow'] as int?,
seriesView: json['series_view'] as int?,
likes: json['likes'] as int?,
favorite: json['favorite'] as int?,
);
}