InfiniteQueryState<T> constructor

const InfiniteQueryState<T>({
  1. QueryStatus status = QueryStatus.initial,
  2. List<T>? data,
  3. dynamic error,
  4. DateTime? dataUpdatedAt,
  5. DateTime? errorUpdatedAt,
  6. bool isFetching = false,
  7. bool isFetchingNextPage = false,
  8. bool hasNextPage = false,
})

Creates a new InfiniteQueryState.

Implementation

const InfiniteQueryState({
  super.status,
  super.data,
  super.error,
  super.dataUpdatedAt,
  super.errorUpdatedAt,
  super.isFetching,
  this.isFetchingNextPage = false,
  this.hasNextPage = false,
});