SentryAttachment.fromLoader constructor
SentryAttachment.fromLoader({
- required ContentLoader loader,
- required String filename,
- String? attachmentType,
- String? contentType,
- bool? addToTransactions,
Implementation
SentryAttachment.fromLoader({
required ContentLoader loader,
required this.filename,
String? attachmentType,
this.contentType,
bool? addToTransactions,
}) : _loader = loader,
attachmentType = attachmentType ?? typeAttachmentDefault,
addToTransactions = addToTransactions ?? false;