SentryTraceContextHeader class

Annotations
  • @experimental

Constructors

SentryTraceContextHeader(SentryId traceId, String publicKey, {String? release, String? environment, String? userId, String? userSegment, String? transaction, String? sampleRate})
SentryTraceContextHeader.fromJson(Map<String, dynamic> json)
Deserializes a SentryTraceContextHeader from JSON Map.
factory

Properties

environment → String?
final
hashCode → int
The hash code for this object.
no setterinherited
publicKey → String
final
release → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate → String?
final
traceId → SentryId
final
transaction → String?
final
userId → String?
final
userSegment → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBaggage({SentryLogger? logger}) → SentryBaggage
toJson() → Map<String, dynamic>
Produces a Map that can be serialized to JSON.
toString() → String
A string representation of this object.
inherited

Operators

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