MutationResult class

The outcome of a mutation, including how many records were affected.

Constructors

MutationResult({int? affectedCount, String? insertedId, Map<String, Object?>? metadata})
const

Properties

affectedCount → int?
final
hashCode → int
The hash code for this object.
no setteroverride
insertedId → String?
final
metadata → Map<String, Object?>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Object? affectedCount = _unset, Object? insertedId = _unset, Object? metadata = _unset}) → MutationResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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