mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 03:15:14 +08:00
35
lib/models_new/fav/fav_pgc/stat.dart
Normal file
35
lib/models_new/fav/fav_pgc/stat.dart
Normal file
@@ -0,0 +1,35 @@
|
||||
class Stat {
|
||||
int? follow;
|
||||
int? view;
|
||||
int? danmaku;
|
||||
int? reply;
|
||||
int? 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 int?,
|
||||
seriesFollow: json['series_follow'] as int?,
|
||||
seriesView: json['series_view'] as int?,
|
||||
likes: json['likes'] as int?,
|
||||
favorite: json['favorite'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user