captureEvent static method

Future<SentryId> captureEvent(
  1. SentryEvent event, {
  2. dynamic stackTrace,
  3. Hint? hint,
  4. ScopeCallback? withScope,
})

Reports an event to Sentry.io.

Implementation

static Future<SentryId> captureEvent(
  SentryEvent event, {
  dynamic stackTrace,
  Hint? hint,
  ScopeCallback? withScope,
}) =>
    _hub.captureEvent(
      event,
      stackTrace: stackTrace,
      hint: hint,
      withScope: withScope,
    );