CollectionProgressivePageInfo class final

Metadata for accumulated batches with forward loading but no backward page navigation.

Inheritance

Constructors

CollectionProgressivePageInfo({required int loadedItems, required bool hasMore, int? totalItems})
Describes the accumulated item count and explicit availability of another batch.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
hasKnownTotal bool
Whether totalItems was supplied.
no setterinherited
hasMore bool
Whether the source allows another batch request.
final
hasNext bool
Whether hasMore allows loading another batch.
no setteroverride
hasPrevious bool
Always false; accumulated batches do not have a previous-page operation.
no setteroverride
loadedItems int
Number of items accumulated across all loaded batches.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalItems int?
Total matching items across the source, or null when unknown.
finalinherited

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