InfiniteQueryController<TData, TParams, TError> class

Constructors

InfiniteQueryController.new(InfiniteQueryState<TData, TParams, TError> state, Future<void> _fetch({TParams? newParameters}), Future<void> _fetchNextPage(), Future<void> _refetchFromStart({TParams? newParameters}), void _updateParameters(TParams newFilters), bool _canLoadMore)

Properties

canLoadMore bool
no setter
currentPage int
no setter
data List<TData>
no setter
error → TError?
no setter
filters → TParams?
no setter
hasError bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasNextPage bool
no setter
isEmpty bool
no setter
isLoading bool
no setter
isLoadingMore bool
no setter
isNotEmpty bool
no setter
isSuccess bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state InfiniteQueryState<TData, TParams, TError>
final
totalItems int
no setter
totalPages int
no setter

Methods

fetch({TParams? newParameters}) Future<void>
fetchNextPage() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refetchFromStart({TParams? newFilters}) Future<void>
toString() String
A string representation of this object.
inherited
updateParameters(TParams newParameters) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited