active property

Scope? active

Return the currently active Scope which can be used to access the currently active Scope.span. If there is a Scope non-null scope, its wrapped Span becomes an implicit parent(as referenceChildOf) of any newly-created Span at AbstractTracer.startSpan.

Returns the Scope, or null if none could be found.

Implementation

Scope? get active;
  1. @protected
void active=(Scope? value)

DO NOT USE THIS! This is only to be used by Scope OR ScopeManager.

Implementation

@protected
set active(Scope? value);