SentryAttachment.fromByteData constructor
SentryAttachment.fromByteData(})
Creates an SentryAttachment from ByteData
Implementation
SentryAttachment.fromByteData(
ByteData bytes,
String fileName, {
String? contentType,
String? attachmentType,
bool? addToTransactions,
}) : this.fromLoader(
attachmentType: attachmentType,
loader: () => bytes.buffer.asUint8List(),
filename: fileName,
contentType: contentType,
addToTransactions: addToTransactions,
);