QueryPersister class abstract interface

Storage adapter implemented by files, preferences, databases, or memory.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
remove() → FutureOr<void>
Deletes the stored snapshot.
restore() → FutureOr<PersistedQueryClient?>
Reads the stored snapshot, if present.
save(PersistedQueryClient client) → FutureOr<void>
Replaces the stored snapshot with client.
toString() → String
A string representation of this object.
inherited

Operators

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