Transaction class

A transaction.

Constructors

Transaction.new({String? id, MultiplexedSessionPrecommitToken? precommitToken, String? readTimestamp})
Transaction.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
id may be used to identify the transaction in subsequent Read, ExecuteSql, Commit, or Rollback calls.
getter/setter pair
idAsBytes List<int>
getter/setter pair
precommitToken MultiplexedSessionPrecommitToken?
A precommit token will be included in the response of a BeginTransaction request if the read-write transaction is on a multiplexed session and a mutation_key was specified in the BeginTransaction.
getter/setter pair
readTimestamp String?
For snapshot read-only transactions, the read timestamp chosen for the transaction.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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