active property

  1. @override
Scope? active
override

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

@override
Scope? get active => _scope;
  1. @override
void active=(Scope? value)
override

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

Implementation

@override
set active(Scope? value) {
  _scope = value;
}