MutationResult class

The result of applying a mutation.

Constructors

MutationResult()
MutationResult.fromJson(Map _json)

Properties

conflictDetected ↔ bool
Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.
read / write
key Key
The automatically allocated key. Set only when the mutation allocated a key.
read / write
version ↔ String
The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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