mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
@@ -1,17 +1,11 @@
|
||||
class Statistic {
|
||||
int? sid;
|
||||
int? play;
|
||||
int? collect;
|
||||
int? comment;
|
||||
int? share;
|
||||
|
||||
Statistic({this.sid, this.play, this.collect, this.comment, this.share});
|
||||
Statistic({this.play, this.comment});
|
||||
|
||||
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?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user