TrackedQuery class final

A persisted record of a query: id, querySpec, lastUse (ms), complete, active.

Constructors

TrackedQuery({required int id, required QuerySpec querySpec, required int lastUse, required bool complete, required bool active})
Creates a record.
const

Properties

active → bool
Whether a listen is active.
final
complete → bool
Whether the server sent its complete data.
final
hashCode → int
The hash code for this object.
no setteroverride
id → int
The id.
final
lastUse → int
The last time (ms since the epoch) the query was active.
final
querySpec → QuerySpec
The query.
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
withActiveState(bool active) → TrackedQuery
With active.
withComplete() → TrackedQuery
Marked complete.
withLastUse(int lastUse) → TrackedQuery
With lastUse.

Operators

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