currentOrNull

abstract fun currentOrNull(): Transaction?

Returns the current Transaction of the transaction manager, or null if none exists.