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;