Pagination constructor

Pagination({
  1. int total = 0,
  2. int limit = 0,
  3. int pages = 0,
  4. int page = 1,
  5. String? order,
  6. String? query,
})

Implementation

Pagination(
    {this.total = 0,
    this.limit = 0,
    this.pages = 0,
    this.page = 1,
    this.order,
    this.query});