StrapiQueryPagination constructor
StrapiQueryPagination({})
Implementation
StrapiQueryPagination({
this.pageSize,
this.page,
this.start,
this.limit,
this.withCount = true,
}) : assert(
(pageSize != null &&
page != null &&
start == null &&
limit == null) ||
(start != null &&
limit != null &&
pageSize == null &&
page == null),
'Either pageSize and page or start and limit must be set',
);