getSpan method

  1. @override
ISentrySpan? getSpan()
override

Gets the current active transaction or span.

Implementation

@override
ISentrySpan? getSpan() => Sentry.currentHub.getSpan();