StorageRepository class abstract

Implementers

Constructors

StorageRepository()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage FirebaseStorage
no setter
uploader Stream<TaskSnapshot>
no setter

Methods

delete(StorageFile storageFile) Future<void>
deleteWithDoc(DocumentReference<Object?> reference, String folderName, StorageFile storageFile, {bool isNotNull = true}) Future<void>
deleteWithPath(String filePath) Future<void>
dispose() → void
fetch() → void
getData(StorageFile storageFile, [int maxSize]) Future<Uint8List?>
getDataWithPath(String filePath, [int maxSize]) Future<Uint8List?>
getDownloadUrl(StorageFile storageFile) Future<String>
getDownloadUrlWithPath(String filePath) Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ref(StorageFile storageFile) Reference
save(String folderPath, File data, {String filename, String mimeType = mimeTypeApplicationOctetStream, Map<String, String> metadata = const <String, String>{}, Map<String, dynamic> additionalData = const <String, dynamic>{}}) Future<StorageFile>
saveBlob(String folderPath, dynamic data, {String? filename, String mimeType = mimeTypeApplicationOctetStream, Map<String, String> metadata = const <String, String>{}, Map<String, dynamic> additionalData = const <String, dynamic>{}}) Future<StorageFile>
saveBlobWithDoc(DocumentReference<Object?> reference, String folderName, dynamic data, {String? filename, String mimeType = mimeTypeApplicationOctetStream, Map<String, String> metadata = const <String, String>{}, Map<String, dynamic> additionalData = const <String, dynamic>{}}) Future<StorageFile>
saveWithDoc(DocumentReference<Object?> reference, String folderName, File data, {String? filename, String mimeType = mimeTypeApplicationOctetStream, Map<String, String> metadata = const <String, String>{}, Map<String, dynamic> additionalData = const <String, dynamic>{}}) Future<StorageFile>
toString() String
A string representation of this object.
inherited

Operators

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