getSpan static method

ISentrySpan? getSpan()

Gets the current active transaction or span bound to the scope.

Implementation

static ISentrySpan? getSpan() => _hub.getSpan();