transaction property
DriftTransactionSession?
get
transaction
If this session represents a a transaction, returns a DriftTransactionSession that can be used to commit or rollback the transaction.
This getter should always return the same value, existing session instances can't start being a transaction after being open.
Implementation
DriftTransactionSession? get transaction;