PaginatedState<T, Q> constructor

const PaginatedState<T, Q>({
  1. required int page,
  2. required int pageSize,
  3. required PaginatedStateType type,
  4. required bool hasNoMoreItems,
  5. required List<T> items,
  6. Q? query,
  7. Object? error,
  8. StackTrace? stackTrace,
})

Implementation

const PaginatedState({
  required this.page,
  required this.pageSize,
  required this.type,
  required this.hasNoMoreItems,
  required this.items,
  this.query,
  this.error,
  this.stackTrace,
});