BatchOperationOnItem<T extends BaseDocument> class abstract

Base class for batch operations on specific items, e.g. BatchOperationCreate.

Inheritance
Implementers

Constructors

BatchOperationOnItem(T item, {PartitionKeySpec? partitionKeySpec, PartitionKey? partitionKey})

Properties

hashCode int
The hash code for this object.
no setterinherited
item → T
The operation's target item.
final
partitionKey PartitionKey?
The operation's target partitionKey.
no setteroverride
result BatchOperationResult<T>?
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 setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BatchOperationType
The operation's type.
no setterinherited

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.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited