SentryEnvelopeItem class
Item holding header information and JSON encoded data.
Constructors
-
SentryEnvelopeItem(SentryEnvelopeItemHeader header, Future<
List< dataFactory(), {Object? originalObject})int> > - SentryEnvelopeItem.fromAttachment(SentryAttachment attachment)
-
factory
- SentryEnvelopeItem.fromClientReport(ClientReport clientReport)
-
Create a SentryEnvelopeItem which holds the
ClientReport
data.factory - SentryEnvelopeItem.fromEvent(SentryEvent event)
-
Create a SentryEnvelopeItem which holds the SentryEvent data.
factory
-
SentryEnvelopeItem.fromMetrics(Map<
int, Iterable< buckets)Metric> > -
Creates a SentryEnvelopeItem which holds several
Metric
data.factory - SentryEnvelopeItem.fromTransaction(SentryTransaction transaction)
-
Creates a SentryEnvelopeItem which sends SentryTransaction.
factory
- SentryEnvelopeItem.fromUserFeedback(SentryUserFeedback feedback)
-
Create a SentryEnvelopeItem which sends SentryUserFeedback.
factory
Properties
-
dataFactory
→ Future<
List< Function()int> > -
Create binary data representation of item data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → SentryEnvelopeItemHeader
-
Header with info about type and length of data in bytes.
final
- originalObject ↔ Object?
-
The original, non-encoded object, used when direct access to the source data is needed.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
envelopeItemStream(
) → Future< List< int> > -
Stream binary data of
Envelope
item. -
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