SpanContext.remote constructor

SpanContext.remote(
  1. TraceId _traceId,
  2. SpanId _spanId,
  3. int _traceFlags,
  4. TraceState _traceState,
)

Construct a SpanContext representing an operation which originated from a remote source.

Implementation

SpanContext.remote(
    this._traceId, this._spanId, this._traceFlags, this._traceState)
    : _isRemote = true;