StoredLogEntry class final

An entry saved by a store: the entry and the store-assigned id.

LogEntry is a value without identity: two entries with equal fields are indistinguishable. The store tells them apart by id, so the viewer removes deleted entries and continues pages by id without comparing whole entries.

Store entries are ordered by cursor: by time, then by id, that is, in write order. LogQuery defines this order.

Annotations
  • @immutable

Constructors

StoredLogEntry(int id, LogEntry entry)
const

Properties

cursor → LogCursor
The entry's position in store order.
no setter
entry → LogEntry
final
hashCode → int
The hash code for this object.
no setteroverride
id → int
The entry's id in the store: increases in write order and is never reused while the store lives (like SQLite rowid with AUTOINCREMENT). Unique within a single store.
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.
override

Operators

operator ==(Object other) → bool
Entries with the same id and the same entry are equal. entry equality is checked after id: for entries of one store, id tells them apart without touching the stack trace and attributes.
override