RemoteStorage class abstract interface attachments

An interface responsible for uploading and downloading attachments from a remote source, like e.g. S3 or Firebase cloud storage.

Annotations
  • @experimental

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

deleteFile(Attachment attachment) Future<void>
Deletes a file from remote storage.
downloadFile(Attachment attachment) Future<Stream<List<int>>>
Downloads a file from remote storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadFile(Stream<Uint8List> fileData, Attachment attachment) Future<void>
Uploads a file to remote storage.

Operators

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