currentTraceTransactionId function
Returns the transaction ID of the enclosing ISpectTrace.traceTransaction,
or null outside one.
Implementation
String? currentTraceTransactionId() {
final value = Zone.current[_txnZoneKey];
return value is String ? value : null;
}