onUploadError property

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

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

Implementation

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