InfiniteQueryResult<TPage, TPageParam> class
final
UI-facing result with pagination-specific transport flags.
Constructors
-
InfiniteQueryResult({required QueryResult<
InfiniteData< query, required bool hasNextPage, required bool hasPreviousPage, required bool isFetchingNextPage, required bool isFetchingPreviousPage})TPage, TPageParam> > -
Creates an infinite query result projection.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNextPage → bool
-
Whether a forward page can be fetched.
final
- hasPreviousPage → bool
-
Whether a backward page can be fetched.
final
- isFetchingNextPage → bool
-
Whether a forward page fetch is running.
final
- isFetchingPreviousPage → bool
-
Whether a backward page fetch is running.
final
-
query
→ QueryResult<
InfiniteData< TPage, TPageParam> > -
The underlying ordinary query result.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited