DownloadAttachmentExtensions extension
Extensions for downloading attachment
- on
-
- IAttachment
Methods
-
downloadAsBytes(
) → Future< Uint8List> -
Available on IAttachment, provided by the DownloadAttachmentExtensions extension
Downloads attachment as returns bytes of downloaded file. -
downloadAsFile(
File file) → Future< File> -
Available on IAttachment, provided by the DownloadAttachmentExtensions extension
DownloadsAttachmentand saves to givenfile. Returns modified file