SentryTraceContext.fromPropagationContext constructor

  1. @internal
SentryTraceContext.fromPropagationContext(
  1. PropagationContext propagationContext
)

Implementation

@internal
factory SentryTraceContext.fromPropagationContext(
    PropagationContext propagationContext) {
  return SentryTraceContext(
      traceId: propagationContext.traceId,
      spanId: propagationContext.spanId,
      operation: 'default',
      replayId: propagationContext.baggage?.getReplayId());
}