AttachmentService class

Constructors

AttachmentService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

deleteAttachment(String idAttachment) Future<bool>
downloadAttachment(Attachment? attachment) Future<void>
getAttachmentCategory(Attachment attachment) AttachmentCategory
getAttachments() Future<List<Attachment>>
getTokensUsed(List<Attachment> attachments) int
patchAttachment(String idAttachment, String fileName, File file, {bool isNote = false}) Future<Attachment?>
patchNoteAttachment(String idAttachment, String title, String content) Future<Attachment?>
postAttachment(File file, {bool isNote = false}) Future<Attachment?>
postNoteAttachment(String title, String content) Future<Attachment?>
readAttachmentContent(String idAttachment) Future<String?>