opt video action

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-24 18:22:49 +08:00
parent 0c6bc9d58a
commit d567c296f8
6 changed files with 118 additions and 71 deletions

View File

@@ -3,12 +3,12 @@ class Stat {
int? view;
int? danmaku;
int? reply;
int? favorite;
num? coin;
int favorite;
num coin;
int? share;
int? nowRank;
int? hisRank;
int? like;
int like;
int? dislike;
String? evaluation;
int? vt;
@@ -18,12 +18,12 @@ class Stat {
this.view,
this.danmaku,
this.reply,
this.favorite,
this.coin,
required this.favorite,
required this.coin,
this.share,
this.nowRank,
this.hisRank,
this.like,
required this.like,
this.dislike,
this.evaluation,
this.vt,
@@ -34,12 +34,12 @@ class Stat {
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?,
favorite: json['favorite'] as int? ?? 0,
coin: json['coin'] as num? ?? 0,
share: json['share'] as int?,
nowRank: json['now_rank'] as int?,
hisRank: json['his_rank'] as int?,
like: json['like'] as int?,
like: json['like'] as int? ?? 0,
dislike: json['dislike'] as int?,
evaluation: json['evaluation'] as String?,
vt: json['vt'] as int?,