Pagination constructor

Pagination(
  1. {num? totalItems,
  2. num? perPage,
  3. num? currentPage,
  4. num? totalPages,
  5. num? from,
  6. num? to,
  7. dynamic nextPage,
  8. dynamic previousPage}
)

Implementation

Pagination({
  this.totalItems,
  this.perPage,
  this.currentPage,
  this.totalPages,
  this.from,
  this.to,
  this.nextPage,
  this.previousPage,
});