CollectionPageInfo class sealed
Pagination metadata supplied by the data source for a snapshot.
Use subtype-specific cursor/key/offset data rather than assuming numbered pages. totalItems may be unknown.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasKnownTotal → bool
-
Whether totalItems was supplied.
no setter
- hasNext → bool
-
Whether the source metadata indicates another forward page or batch.
no setter
- hasPrevious → bool
-
Whether backward navigation is meaningful for this pagination strategy.
no setter
- loadedItems → int
-
Number of items represented by this page or accumulated batch, not
necessarily the source total.
no setter
- 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.
final
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