SpanContext class

Representation of the context of an individual span.

Constructors

SpanContext(TraceId _traceId, SpanId _spanId, int _traceFlags, TraceState _traceState)
Construct a SpanContext.
SpanContext.invalid()
Construct an invalid SpanContext.
SpanContext.remote(TraceId _traceId, SpanId _spanId, int _traceFlags, TraceState _traceState)
Construct a SpanContext representing an operation which originated from a remote source.

Properties

hashCode int
The hash code for this object.
no setterinherited
isRemote bool
no setter
isValid bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spanId SpanId
no setter
traceFlags int
no setter
traceId TraceId
no setter
traceState TraceState
no setter

Methods

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