TrackSegmentPage class final
One deterministic page of route segments.
A traversal is bounded to the segment-number snapshot captured by its first page. Segments created after that first read appear only in a new traversal.
Constructors
-
TrackSegmentPage({required Iterable<
TrackSegment> items, required bool hasMore, required int snapshotUpperSegmentNumber, required int estimatedDecodedBytes, String? nextCursor})
Properties
- estimatedDecodedBytes → int
-
Conservative estimate of the decoded objects returned by this page.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore → bool
-
Whether another page exists in this snapshot traversal.
final
-
items
→ List<
TrackSegment> -
Segments ordered by ascending persisted segment number.
final
- nextCursor → String?
-
Opaque cursor for the next page in this snapshot traversal.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snapshotUpperSegmentNumber → int
-
Inclusive segment-number boundary fixed by the first page.
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