CollectionKeysetPageInfo<K> class final

Page metadata navigated by a source-owned typed ordering key; a missing boundary means navigation in that direction is unavailable.

Inheritance

Constructors

CollectionKeysetPageInfo({required int itemCount, K? nextKey, K? previousKey, int? totalItems})
Describes the returned page and optional continuation boundaries. A source total is not required.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
hasKnownTotal bool
Whether totalItems was supplied.
no setterinherited
hasNext bool
Whether nextKey is available.
no setteroverride
hasPrevious bool
Whether previousKey is available.
no setteroverride
itemCount int
Actual number of items returned in this page.
final
loadedItems int
Actual number of items in this page.
no setteroverride
nextKey → K?
Typed ordering key for the following page, or null when unavailable.
final
previousKey → K?
Typed ordering key for the preceding page, or null when unavailable.
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