StorageCategory class
- Inheritance
-
- Object
- AmplifyCategory<
StoragePluginInterface> - StorageCategory
Constructors
Properties
- category → Category
-
no setteroverride
- defaultPlugin → StoragePluginInterface
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
plugins
→ List<
StoragePluginInterface> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPlugin(
StoragePluginInterface plugin) → Future< void> -
Adds a plugin to the category.
inherited
-
downloadFile(
{required String key, required File local, void onProgress(TransferProgress)?, DownloadFileOptions? options}) → Future< DownloadFileResult> -
getPlugin<
T extends P> () → T -
inherited
-
getUrl(
{required String key, GetUrlOptions? options}) → Future< GetUrlResult> -
list(
{String? path, ListOptions? options}) → Future< ListResult> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
{required String key, RemoveOptions? options}) → Future< RemoveResult> -
toString(
) → String -
A string representation of this object.
inherited
-
uploadFile(
{required File local, required String key, void onProgress(TransferProgress)?, UploadFileOptions? options}) → Future< UploadFileResult>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited