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