SentrySpanContext class

Implementers

Constructors

SentrySpanContext.new({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.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
operation String
Short code identifying the type of operation the span is measuring
getter/setter pair
origin String?
The origin of the span indicates what created the span.
getter/setter pair
parentSpanId SpanId?
Id of a parent span
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spanId SpanId
Span id
getter/setter pair
traceId SentryId
Determines which trace the Span belongs to
getter/setter pair

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
toTraceContext({bool? sampled, SpanStatus? status, Map<String, dynamic>? data}) SentryTraceContext

Operators

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