MutationResult class

The result of applying a mutation.


MutationResult.fromJson(Map _json)


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
hashCode int
The hash code for this object. [...]
read-only, inherited
key Key
The automatically allocated key. Set only when the mutation allocated a key.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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


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


operator ==(Object other) bool
The equality operator. [...]