mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 00:56:31 +08:00
14 lines
260 B
Dart
14 lines
260 B
Dart
class Page {
|
|
int? total;
|
|
int? size;
|
|
int? num;
|
|
|
|
Page({this.total, this.size, this.num});
|
|
|
|
factory Page.fromJson(Map<String, dynamic> json) => Page(
|
|
total: json['total'] as int?,
|
|
size: json['size'] as int?,
|
|
num: json['num'] as int?,
|
|
);
|
|
}
|