SentryAttachment.fromScreenshotData constructor

SentryAttachment.fromScreenshotData(
  1. Uint8List bytes
)

Implementation

SentryAttachment.fromScreenshotData(Uint8List bytes)
    : this.fromUint8List(bytes, 'screenshot.png',
          contentType: 'image/png',
          attachmentType: SentryAttachment.typeAttachmentDefault);