AttachmentDownloader typedef

AttachmentDownloader = Future<String> Function(Attachment attachment, {ProgressCallback? progressCallback})

Callback to download an attachment asset

Implementation

typedef AttachmentDownloader = Future<String> Function(
  Attachment attachment, {
  ProgressCallback? progressCallback,
});