SentrySpanContext constructor

SentrySpanContext({
  1. SentryId? traceId,
  2. SpanId? spanId,
  3. SpanId? parentSpanId,
  4. required String operation,
  5. String? description,
})

Implementation

SentrySpanContext({
  SentryId? traceId,
  SpanId? spanId,
  this.parentSpanId,
  required this.operation,
  this.description,
})  : traceId = traceId ?? SentryId.newId(),
      spanId = spanId ?? SpanId.newId();