PaginatedQueryController<TData, TParams, TError> constructor

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

Implementation

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