SentrySamplingContext class

Context used by TracesSamplerCallback to determine if transaction is going to be sampled.

Annotations
  • @immutable

Constructors

SentrySamplingContext(SentryTransactionContext _transactionContext, Map<String, dynamic> _customSamplingContext)

Properties

customSamplingContext Map<String, dynamic>
The given sampling context
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionContext SentryTransactionContext
The Transaction context
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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