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
rowidwithAUTOINCREMENT). 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