AttachmentDownloader typedef
AttachmentDownloader =
Future<String> Function(Attachment attachment, {CancelToken? cancelToken, bool deleteOnError, ProgressCallback? onReceiveProgress, Options? options, Map<String, dynamic> ? queryParameters})
A callback for downloading an attachment asset. Callback to download an attachment asset
Implementation
typedef AttachmentDownloader = Future<String> Function(
Attachment attachment, {
ProgressCallback? onReceiveProgress,
Map<String, dynamic>? queryParameters,
CancelToken? cancelToken,
bool deleteOnError,
Options? options,
});