attachments/attachments library attachments

Imports for attachments that are available on all platforms.

For more details on using attachments, see the documentation for the topic.

Classes

Attachment Attachments attachments
Represents an attachment with metadata and state information.
AttachmentErrorHandler attachments
Interface for handling errors during attachment operations. Implementations determine whether failed operations should be retried. Attachment records are archived if an operation fails and should not be retried.
AttachmentQueue attachments
Class used to implement the attachment queue.
AttachmentsQueueTable attachments
Table definition for the attachments queue.
LocalStorage attachments
An interface responsible for storing attachment data locally.
RemoteStorage attachments
An interface responsible for uploading and downloading attachments from a remote source, like e.g. S3 or Firebase cloud storage.
WatchedAttachmentItem attachments
A watched attachment record item.

Enums

AttachmentState attachments
Represents the state of an attachment.

Typedefs

AttachmentExceptionHandler = Future<bool> Function(Attachment attachment, Object exception, StackTrace stackTrace) attachments
The signature of a function handling an exception when uploading, downloading or deleting an exception.