mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
16 lines
377 B
Dart
16 lines
377 B
Dart
class CntInfo {
|
|
int? collect;
|
|
int? play;
|
|
int? thumbUp;
|
|
int? share;
|
|
|
|
CntInfo({this.collect, this.play, this.thumbUp, this.share});
|
|
|
|
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?,
|
|
);
|
|
}
|