SentryEnvelope class
Class representation of Envelope
file.
Constructors
-
SentryEnvelope(SentryEnvelopeHeader header, List<
SentryEnvelopeItem> items) -
SentryEnvelope.fromEvent(SentryEvent event, SdkVersion sdkVersion, {String? dsn, SentryTraceContextHeader? traceContext, List<
SentryAttachment> ? attachments}) -
Create an SentryEnvelope with containing one SentryEnvelopeItem which holds the SentryEvent data.
factory
-
SentryEnvelope.fromTransaction(SentryTransaction transaction, SdkVersion sdkVersion, {String? dsn, SentryTraceContextHeader? traceContext, List<
SentryAttachment> ? attachments}) -
Create an SentryEnvelope with containing one SentryEnvelopeItem which holds the SentryTransaction data.
factory
- SentryEnvelope.fromUserFeedback(SentryUserFeedback feedback, SdkVersion sdkVersion, {String? dsn})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → SentryEnvelopeHeader
-
Header describing envelope content.
final
-
items
→ List<
SentryEnvelopeItem> -
All items contained in the envelope.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addClientReport(
ClientReport? clientReport) → void - Add an envelope item containing client report data.
-
envelopeStream(
SentryOptions options) → Stream< List< int> > -
Stream binary data representation of
Envelope
file encoded. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited