PaginationRequest constructor

const PaginationRequest({
  1. int page = 1,
  2. int? pageSize,
  3. String? cursor,
  4. Map<String, dynamic>? filters,
  5. Map<String, dynamic>? extra,
  6. String? searchQuery,
})

Implementation

const PaginationRequest({
  this.page = 1,
  this.pageSize,
  this.cursor,
  this.filters,
  this.extra,
  this.searchQuery,
}) : assert(page > 0, 'Page must be greater than 0');