SentrySpanContext class

Implementers
Annotations
  • @immutable

Constructors

SentrySpanContext({SentryId? traceId, SpanId? spanId, SpanId? parentSpanId, required String operation, String? description, String? origin})

Properties

description → String?
Longer description of the span's operation, which uniquely identifies the span but is consistent across instances of the span.
final
hashCode → int
The hash code for this object.
no setterinherited
operation → String
Short code identifying the type of operation the span is measuring
final
origin → String?
The origin of the span indicates what created the span.
final
parentSpanId → SpanId?
Id of a parent span
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spanId ↔ SpanId
Span id
latefinal
traceId ↔ SentryId
Determines which trace the Span belongs to
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Item encoded as JSON
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited