activeSpan property

BugCapsuleSpan? get activeSpan

The span of the current zone (startSpan), else the transaction bound to the scope (the current screen), if open.

Implementation

static BugCapsuleSpan? get activeSpan => Scope.current.activeSpan;