SentrySpanContext constructor

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

Implementation

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