QuerySnapshot class final

One query the registry remembers, mounted or not.

Constructors

QuerySnapshot({required String key, required String operation, required Object? args, required int mounts, required bool stale, required bool settled, required List<String> provides, required List<String> tags, required List<String> deps, required int settledAt})
Creates a snapshot.
const

Properties

args → Object?
A bounded JSON copy of the arguments, headers omitted.
final
deps → List<String>
The entity keys it reached, sorted.
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
The cache key.
final
mounts → int
How many places have it mounted.
final
operation → String
METHOD /path.
final
provides → List<String>
provides, as templates.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settled → bool
Whether a response has ever settled into it.
final
settledAt → int
The invalidation clock at its last settle.
final
stale → bool
Known to be behind the server.
final
tags → List<String>
Everything it carries, sorted.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
The JSON form.
toString() → String
A string representation of this object.
inherited

Operators

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