captureFeedback static method

Future<SentryId> captureFeedback(
  1. SentryFeedback feedback, {
  2. Hint? hint,
  3. ScopeCallback? withScope,
})

Reports SentryFeedback to Sentry.io.

Use withScope to add SentryAttachment to the feedback.

Implementation

static Future<SentryId> captureFeedback(
  SentryFeedback feedback, {
  Hint? hint,
  ScopeCallback? withScope,
}) => _taskQueue.enqueue(
  () => _hub.captureFeedback(feedback, hint: hint, withScope: withScope),
  SentryId.empty(),
  DataCategory.unknown,
);