Files
PiliPlus/lib/models/topic_pub_search/page_info.dart
bggRGjQaUbCoE 3edac65ae8 opt pub panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-05-26 17:15:21 +08:00

12 lines
255 B
Dart

class PageInfo {
int? offset;
bool? hasMore;
PageInfo({this.offset, this.hasMore});
factory PageInfo.fromJson(Map<String, dynamic> json) => PageInfo(
offset: json['offset'] as int?,
hasMore: json['has_more'] as bool?,
);
}