BatchOperationCreate<T extends BaseDocument> class

Batch operation for adding a document in the target container.

Inheritance

Constructors

BatchOperationCreate(T item, {PartitionKeySpec? partitionKeySpec, PartitionKey? partitionKey})
Creates a batch operation for adding document item.

Properties

hashCode int
The hash code for this object.
no setterinherited
item → T
The operation's target item.
finalinherited
partitionKey PartitionKey?
The operation's target partitionKey.
no setterinherited
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.
final

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

Operators

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