A mixin that contains functions for uploading and deleting files.
The functions are used in the StorageService class. You can call functions from this mixin as follows:
ref.read(storageServiceProvider).uploadFile(file, filePath, type);
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance ↔ FirebaseStorage
-
latefinal
- 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. -
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.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited