isTracingEnabled method
Returns if tracing should be enabled. If tracing is disabled, starting transactions returns NoOpSentrySpan.
Implementation
bool isTracingEnabled() {
// ignore: deprecated_member_use_from_same_package
final enable = enableTracing;
if (enable != null) {
return enable;
}
return tracesSampleRate != null || tracesSampler != null;
}