QuerySpec class final

The identity of a query in the sync tree and in persistence.

Constructors

QuerySpec.defaultAt(Path path)
The default query at path.
factory
QuerySpec.fromPathAndWireObject(Path path, Map<String, Object?> wire)
The query at path with the parameters of a wire object, as toWireObject returns it.
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
index → Index
The index of the parameters.
no setter
isDefault → bool
Whether this is the default query.
no setter
loadsAllData → bool
Whether the query loads all data at path.
no setter
path → Path
The path.
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
toWireObject() → Map<String, Object?>
The parameters as the wire object the server receives ({} for the default query). An engine stores it and passes it back to QuerySpec.fromPathAndWireObject, which builds an equal spec.

Operators

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