mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 16:46:22 +08:00
18 lines
416 B
Dart
18 lines
416 B
Dart
class Statistic {
|
|
int? sid;
|
|
int? play;
|
|
int? collect;
|
|
int? comment;
|
|
int? share;
|
|
|
|
Statistic({this.sid, this.play, this.collect, this.comment, this.share});
|
|
|
|
factory Statistic.fromJson(Map<String, dynamic> json) => Statistic(
|
|
sid: json['sid'] as int?,
|
|
play: json['play'] as int?,
|
|
collect: json['collect'] as int?,
|
|
comment: json['comment'] as int?,
|
|
share: json['share'] as int?,
|
|
);
|
|
}
|