IoSentryAttachment.fromPath constructor
IoSentryAttachment.fromPath(})
Creates an attachment from a given path.
Only available on dart:io
platforms.
Not available on web.
Implementation
IoSentryAttachment.fromPath(
String path, {
String? filename,
String? attachmentType,
String? contentType,
}) : this.fromFile(
File(path),
attachmentType: attachmentType,
contentType: contentType,
filename: filename,
);