DehydratedMutation class final

A paused mutation that can be resumed after its keyed options are registered.

Constructors

DehydratedMutation({required QueryKey<Object?> key, required Map<String, Object?> state, required String? scope, required Map<String, Object?> meta})
Creates a dehydrated paused mutation.
const
DehydratedMutation.fromJson(Map<String, Object?> json)
Decodes a mutation from JSON-compatible data.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → QueryKey<Object?>
The mutation key used to restore its options.
final
meta → Map<String, Object?>
User metadata associated with the mutation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → String?
The optional serial execution scope.
final
state → Map<String, Object?>
The serialized mutation state.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Encodes this mutation as JSON-compatible data.
toString() → String
A string representation of this object.
inherited

Operators

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