mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
18 lines
285 B
Dart
18 lines
285 B
Dart
class Stats {
|
|
int? view;
|
|
int? like;
|
|
int? reply;
|
|
|
|
Stats({
|
|
this.view,
|
|
this.like,
|
|
this.reply,
|
|
});
|
|
|
|
factory Stats.fromJson(Map<String, dynamic> json) => Stats(
|
|
view: json['view'] as int?,
|
|
like: json['like'] as int?,
|
|
reply: json['reply'] as int?,
|
|
);
|
|
}
|