InfiniteQueryController<TData, TParams, TError> constructor

InfiniteQueryController<TData, TParams, TError>(
  1. InfiniteQueryState<TData, TParams, TError> state,
  2. Future<void> _fetch({
    1. TParams? newParameters,
    }),
  3. Future<void> _fetchNextPage(),
  4. Future<void> _refetchFromStart({
    1. TParams? newParameters,
    }),
  5. void _updateParameters(
    1. TParams newFilters
    ),
  6. bool _canLoadMore,
)

Implementation

InfiniteQueryController(
  this.state,
  this._fetch,
  this._fetchNextPage,
  this._refetchFromStart,
  this._updateParameters,
  this._canLoadMore,
);