captureUserFeedback method

  1. @Deprecated('Will be removed in a future version. Use [captureFeedback] instead')
Future<void> captureUserFeedback(
  1. SentryUserFeedback userFeedback
)

Reports the userFeedback to Sentry.io.

Implementation

@Deprecated(
    'Will be removed in a future version. Use [captureFeedback] instead')
Future<void> captureUserFeedback(SentryUserFeedback userFeedback) {
  final envelope = SentryEnvelope.fromUserFeedback(
    userFeedback,
    _options.sdk,
    dsn: _options.dsn,
  );
  return _attachClientReportsAndSend(envelope);
}