MutationOptions class

Mutation options

Inheritance

Constructors

MutationOptions({@Deprecated('The "document" option has been deprecated, use "documentNode" instead') String document, DocumentNode documentNode, Map<String, dynamic> variables, FetchPolicy fetchPolicy, ErrorPolicy errorPolicy, Map<String, dynamic> context, OnMutationCompleted onCompleted, OnMutationUpdate update, OnError onError})

Properties

onCompleted OnMutationCompleted
read / write
onError OnError
read / write
update OnMutationUpdate
read / write
context ↔ Map<String, dynamic>
Context to be passed to link execution chain.
read / write, inherited
document ↔ String
A string representation of documentNode
@Deprecated('The "document" option has been deprecated, use "documentNode" instead'), read / write, inherited
documentNode DocumentNode
A GraphQL document that consists of a single query to be sent down to the server.
read / write, inherited
errorPolicy ErrorPolicy
read-only, inherited
fetchPolicy FetchPolicy
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
operationName → String
The last operation name appearing in the contained document.
read-only, inherited
optimisticResult ↔ Object
An optimistic result to eagerly add to the operation stream
read / write, inherited
policies Policies
Specifies the Policies to be used during execution.
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
variables ↔ Map<String, dynamic>
A map going from variable name to variable value, where the variables are used within the GraphQL query.
read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toKey() → String
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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