MutationOptions class

Mutation options

Inheritance

Constructors

MutationOptions({@required String document, Map<String, dynamic> variables, FetchPolicy fetchPolicy: FetchPolicy.networkOnly, ErrorPolicy errorPolicy: ErrorPolicy.none, Map<String, dynamic> context })

Properties

context ↔ Map<String, dynamic>
Context to be passed to link execution chain.
read / write, inherited
document ↔ String
A GraphQL document that consists of a single query to be sent down to the server.
read / write, inherited
errorPolicy ErrorPolicy
Specifies the ErrorPolicy to be used.
read / write, inherited
fetchPolicy FetchPolicy
Specifies the FetchPolicy to be used.
read / write, 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
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