currentHub property

  1. @Deprecated('This is scheduled to be removed in Sentry v6.0.0. ' 'Instead of currentHub you should use Sentry\'s static methods.')
Hub currentHub

Returns the current hub

Implementation

@Deprecated(
  'This is scheduled to be removed in Sentry v6.0.0. '
  'Instead of currentHub you should use Sentry\'s static methods.',
)
static Hub get currentHub => _hub;