SentryTransactionContext class
Constructors
-
SentryTransactionContext(String name, String operation, {String? description, SentryTracesSamplingDecision? parentSamplingDecision, SentryId? traceId, SpanId? spanId, SpanId? parentSpanId, SentryTransactionNameSource? transactionNameSource, SentryTracesSamplingDecision? samplingDecision})
-
-
SentryTransactionContext.fromSentryTrace(String name, String operation, SentryTransactionNameSource? transactionNameSource, SentryBaggage? baggage})
-
factory
Methods
-
copyWith({String? name, String? operation, String? description, SentryTracesSamplingDecision? parentSamplingDecision, SentryId? traceId, SpanId? spanId, SpanId? parentSpanId, SentryTransactionNameSource? transactionNameSource, SentryTracesSamplingDecision? samplingDecision})
→ SentryTransactionContext
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Item encoded as JSON
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
toTraceContext({bool? sampled, SpanStatus? status})
→ SentryTraceContext
-
inherited