LedgerPage<T> class

A bounded ledger scan. An empty page can still advance cursor. Resume with this cursor even when a filtered scan reaches its work limit.

Constructors

LedgerPage({required Iterable<T> items, required String? cursor, required bool hasNextPage, required QueryEndReason endReason, BigInt? checkpoint})

Properties

checkpoint → BigInt?
final
cursor → String?
Base64 cursor; use as after for ascending or before for descending.
final
endReason → QueryEndReason
final
hashCode → int
The hash code for this object.
no setterinherited
hasNextPage → bool
final
items → List<T>
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