Paging constructor
Implementation
factory Paging({
$core.int? page,
$core.int? limit,
$core.int? totalPage,
$core.int? totalRecord,
}) {
final $result = create();
if (page != null) {
$result.page = page;
}
if (limit != null) {
$result.limit = limit;
}
if (totalPage != null) {
$result.totalPage = totalPage;
}
if (totalRecord != null) {
$result.totalRecord = totalRecord;
}
return $result;
}