PersistedQueryClient class final
Versioned persisted Query payload.
Constructors
- PersistedQueryClient({required DateTime timestamp, required String buster, required DehydratedState state})
-
Creates a versioned persisted snapshot.
const
-
PersistedQueryClient.fromJson(Map<
String, Object?> json) -
Decodes a persisted snapshot from JSON-compatible data.
factory
Properties
- buster → String
-
Application-defined cache version.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → DehydratedState
-
The dehydrated Query state.
final
- timestamp → DateTime
-
When the snapshot was written.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Encodes this snapshot as JSON-compatible data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited