InfiniteQueryPage<DataType, ErrorType, PageType> class
A page holding all the data for a given page
Constructors
- InfiniteQueryPage({required PageType page, DataType? data, ErrorType? error, required DateTime updatedAt, required Duration staleDuration, bool loading = false})
-
const
Properties
- data → DataType?
-
final
- error → ErrorType?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isStale → bool
-
no setterinherited
- page → PageType
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- staleDuration → Duration
-
final
- updatedAt → DateTime
-
final
Methods
-
copyWith(
{DataType? data, ErrorType? error, bool? loading}) → InfiniteQueryPage< DataType, ErrorType, PageType> -
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.
override