isActive property

bool get isActive

Whether this transaction is active (not committed or aborted)

Implementation

bool get isActive => !_isCommitted && !_isAborted;