BatchOperation class abstract
Base class for batch operations.
- Implementers
Constructors
- BatchOperation({PartitionKey? partitionKey})
-
Creates a new batch operation targeting
partitionKey
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- partitionKey → PartitionKey?
-
The operation's target partitionKey.
no setter
-
result
→ BatchOperationResult<
BaseDocument> ? -
The operation's result. This property will be set after calling Batch.execute; it
returns
null
if the batch has not been executed yet.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → BatchOperationType
-
The operation's type.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes this instance to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited