NoopScope class

The No-op implementation of Scope in which all operations are no-op

Implemented types

Constructors

NoopScope({Span? span})
Returns a new NoopScope, which will use the supplied Span. If no Span is supplied, a static instance of a NoopSpan will be used.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
span Span
The Span that's been scoped by this Scope.
no setteroverride

Methods

close() → void
Mark the end of the active period for the current thread and Scope, updating the ScopeManager.active in the process.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited