SentryTraceContext class

Annotations

Constructors

SentryTraceContext({SentryId? traceId, SpanId? spanId, SpanId? parentSpanId, bool? sampled, required String operation, String? description, SpanStatus? status, String? origin})
SentryTraceContext.fromJson(Map<String, dynamic> json)
factory
SentryTraceContext.fromPropagationContext(PropagationContext propagationContext)
factory

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
sampled bool?
Whether the span is sampled or not
final
spanId SpanId
Span id
latefinal
status SpanStatus?
The Span status
final
traceId SentryId
Determines which trace the Span belongs to
latefinal

Methods

clone() SentryTraceContext
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

Constants

type → const String