SentryTraceContext class

Constructors

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

Properties

data ↔ Map<String, dynamic>?
getter/setter pair
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
replayId ↔ SentryId?
Replay associated with this trace.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampled ↔ bool?
Whether the span is sampled or not
getter/setter pair
spanId → SpanId
Span id
final
status ↔ SpanStatus?
The Span status
getter/setter pair
traceId → SentryId
Determines which trace the Span belongs to
final

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

Constants

type → const String