S3DownloadFileOperation class

An operation created by calling the Storage S3 plugin downloadFile API.

Constructors

S3DownloadFileOperation({required StorageDownloadFileRequest request, required Future<S3DownloadFileResult> result, required Future<void> resume(), required Future<void> pause(), required Future<void> cancel()})
An operation created by calling the Storage S3 plugin downloadFile API.

Properties

hashCode int
The hash code for this object.
no setterinherited
operationId String
finalinherited
request → StorageDownloadFileRequest
finalinherited
result Future<S3DownloadFileResult>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() Future<void>
Cancels the operation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
When using Amplify Storage S3 plugin in a Web App, this doesn't do anything as the download is managed by browser.
resume() Future<void>
When using Amplify Storage S3 plugin in a Web App, this doesn't do anything as the download is managed by browser.
toString() String
A string representation of this object.
inherited

Operators

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