Files
PiliPlus/lib/models_new/later/stat.dart
bggRGjQaUbCoE 44ba554e0e fix save reply
opt profile page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-12 00:13:57 +08:00

48 lines
987 B
Dart

class Stat {
int? aid;
int? view;
int? danmaku;
int? reply;
int? favorite;
num? coin;
int? share;
int? nowRank;
int? hisRank;
int? like;
int? dislike;
int? vt;
int? vv;
Stat({
this.aid,
this.view,
this.danmaku,
this.reply,
this.favorite,
this.coin,
this.share,
this.nowRank,
this.hisRank,
this.like,
this.dislike,
this.vt,
this.vv,
});
factory Stat.fromJson(Map<String, dynamic> json) => Stat(
aid: json['aid'] as int?,
view: json['view'] as int?,
danmaku: json['danmaku'] as int?,
reply: json['reply'] as int?,
favorite: json['favorite'] as int?,
coin: json['coin'] as num?,
share: json['share'] as int?,
nowRank: json['now_rank'] as int?,
hisRank: json['his_rank'] as int?,
like: json['like'] as int?,
dislike: json['dislike'] as int?,
vt: json['vt'] as int?,
vv: json['vv'] as int?,
);
}