Pagination<T> constructor

const Pagination<T>({
  1. required List<T> data,
  2. required int total,
  3. required int currentPage,
  4. required int perPage,
  5. required int lastPage,
  6. required int from,
  7. required int to,
})

Implementation

const Pagination({
  required this.data,
  required this.total,
  required this.currentPage,
  required this.perPage,
  required this.lastPage,
  required this.from,
  required this.to,
});