transaction property
String?
get
transaction
The name of the transaction which generated this event,
for example, the route name: "/users/<username>/"
.
Implementation
String? get transaction {
return ((span is SentryTracer) ? (span as SentryTracer?)?.name : null) ??
_transaction;
}
set
transaction
(String? transaction)
Implementation
set transaction(String? transaction) {
_transaction = transaction;
if (_transaction != null && span != null) {
final currentTransaction =
(span is SentryTracer) ? (span as SentryTracer?) : null;
currentTransaction?.name = _transaction!;
}
}