LogCursor class final

An entry's position in store order: time, then id (StoredLogEntry.id). A page continues from it (LogQuery.startAfter): entries written between pages do not shift the next page, and entries with equal time are neither lost nor repeated at its boundary.

Implemented types
Annotations
  • @immutable

Constructors

LogCursor(DateTime time, int id)
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
id → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
time → DateTime
final

Methods

compareTo(LogCursor other) → int
By time first (as an instant, regardless of time zone), then by id.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override