toSentryTrace method

  1. @override
SentryTraceHeader toSentryTrace()
override

Returns the trace information that could be sent as a sentry-trace header.

Implementation

@override
SentryTraceHeader toSentryTrace() => SentryTraceHeader(
      _context.traceId,
      _context.spanId,
      sampled: samplingDecision?.sampled,
    );