SentryEnvelope.fromUserFeedback constructor
- @Deprecated('Will be removed in a future version.')
- SentryUserFeedback feedback,
- SdkVersion sdkVersion, {
- String? dsn,
Implementation
@Deprecated('Will be removed in a future version.')
factory SentryEnvelope.fromUserFeedback(
SentryUserFeedback feedback,
SdkVersion sdkVersion, {
String? dsn,
}) {
return SentryEnvelope(
// no need for [traceContext]
SentryEnvelopeHeader(
feedback.eventId,
sdkVersion,
dsn: dsn,
),
[SentryEnvelopeItem.fromUserFeedback(feedback)],
);
}