PageModel<T> constructor

PageModel<T>({
  1. int current = 0,
  2. int pages = 0,
  3. bool? isLastPage,
  4. List<T>? records,
  5. bool searchCount = false,
  6. int size = 0,
  7. int total = 0,
})

Implementation

PageModel(
    {this.current = 0,
    this.pages = 0,
    this.isLastPage,
    this.records,
    this.searchCount = false,
    this.size = 0,
    this.total = 0});