PaginationEntity<T> constructor

const PaginationEntity<T>({
  1. required int count,
  2. required int total,
  3. required int totalPage,
  4. required int pageSize,
  5. required int currentPageNumber,
  6. required bool hasMore,
  7. required Iterable<T> data,
})

Implementation

const PaginationEntity({
  required this.count,
  required this.total,
  required this.totalPage,
  required this.pageSize,
  required this.currentPageNumber,
  required this.hasMore,
  required this.data,
});