FlutterSentryAttachment class

Inheritance

Constructors

FlutterSentryAttachment.fromAsset(String key, {String? filename, AssetBundle? bundle, String? type, String? contentType, bool? addToTransactions})
Creates an attachment from an asset out of a AssetBundle. If no bundle is given, it's using the rootBundle. Typically you want to use it like this:

Properties

addToTransactions bool
If true, attachment should be added to every transaction. Defaults to false.
finalinherited
attachmentType String
Attachment type. Should be one of the static types declared in SentryAttachment.
finalinherited
bytes FutureOr<Uint8List>
Attachment content. Is loaded while sending this attachment.
no setterinherited
contentType String?
Attachment content type. Inferred by Sentry if it's not given.
finalinherited
filename String
Attachment file name.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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