CommitRequest class

The request for Commit.


CommitRequest.fromJson(Map _json)


hashCode int
The hash code for this object. [...]
read-only, inherited
mutations List<Mutation>
The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
singleUseTransaction TransactionOptions
Execute mutations in a temporary transaction. Note that unlike commit of a previously-started transaction, commit with a temporary transaction is non-idempotent. That is, if the CommitRequest is sent to Cloud Spanner more than once (for instance, due to retries in the application, or in the transport library), it is possible that the mutations are executed more than once. If this is undesirable, use BeginTransaction and Commit instead.
read / write
transactionId String
Commit a previously-started transaction.
read / write
transactionIdAsBytes List<int>
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. [...]