onDownloadError property

(Future<bool> Function(Attachment attachment, Object exception)?) onDownloadError
getter/setter pair

Function to handle errors when downloading attachments Return true if you want to ignore attachment

Implementation

Future<bool> Function(Attachment attachment, Object exception)?
    onDownloadError;