PaginationState<T> constructor

const PaginationState<T>({
  1. List<T> items = const [],
  2. int currentPage = 0,
  3. int pageSize = 20,
  4. int? totalItems,
  5. bool hasMore = true,
  6. bool isLoading = false,
  7. Object? error,
})

Implementation

const PaginationState({
  this.items = const [],
  this.currentPage = 0,
  this.pageSize = 20,
  this.totalItems,
  this.hasMore = true,
  this.isLoading = false,
  this.error,
});