StorageService class Services
A service for interacting with Firebase Storage.
The functions are distributed over mixins to keep the code organized. The mixins for this class are:
- StorageUploadAndDeleteFunctions: Contains functions for uploading and deleting files.
- Mixed in types
Constructors
- StorageService(FirebaseStorage storageInstance)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance ↔ FirebaseStorage
-
latefinalinherited
- 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
-
removeFile(
String path) → Future< void> -
Removes the file located at
path.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
uploadFile(
XFile file, String filePath, ImageType type) → Future< String> -
Uploads an image file to a specific path.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited