mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
12 lines
226 B
Dart
12 lines
226 B
Dart
class Stat {
|
|
int? follow;
|
|
int? view;
|
|
|
|
Stat({this.follow, this.view});
|
|
|
|
factory Stat.fromJson(Map<String, dynamic> json) => Stat(
|
|
follow: (json['follow'] as int?) ?? 0,
|
|
view: (json['view'] as int?) ?? 0,
|
|
);
|
|
}
|