Files
PiliPlus/lib/models_new/fav/fav_detail/cnt_info.dart
bggRGjQaUbCoE b960359a39 opt models
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-06-05 14:44:56 +08:00

24 lines
474 B
Dart

class CntInfo {
int? collect;
int? play;
int? thumbUp;
int? share;
int? danmaku;
CntInfo({
this.collect,
this.play,
this.thumbUp,
this.share,
this.danmaku,
});
factory CntInfo.fromJson(Map<String, dynamic> json) => CntInfo(
collect: json['collect'] as int?,
play: json['play'] as int?,
thumbUp: json['thumb_up'] as int?,
share: json['share'] as int?,
danmaku: json['danmaku'] as int?,
);
}