Pagination constructor

Pagination(
  1. {int? totalItems,
  2. int? perPage,
  3. int? currentPage,
  4. int? totalPages,
  5. int? from,
  6. int? 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,
});