PaginationModel constructor

PaginationModel({
  1. int? currentPage,
  2. String? firstPageUrl,
  3. int? from,
  4. int? lastPage,
  5. String? lastPageUrl,
  6. List<LinksModel>? links,
  7. String? nextPageUrl,
  8. String? path,
  9. String? perPage,
  10. String? prevPageUrl,
  11. int? to,
  12. int total = 0,
})

Implementation

PaginationModel({
  this.currentPage,
  //this.data,
  this.firstPageUrl,
  this.from,
  this.lastPage,
  this.lastPageUrl,
  this.links,
  this.nextPageUrl,
  this.path,
  this.perPage,
  this.prevPageUrl,
  this.to,
  this.total = 0,
});