Storage class

Implemented types

Constructors

Storage({FirebaseStorage? storage})

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 setteroverride
uploader Stream<TaskSnapshot>
no setteroverride

Methods

delete(StorageFile storageFile) Future<void>
override
deleteWithDoc(DocumentReference<Object?> reference, String folderName, StorageFile storageFile, {bool isNotNull = true}) Future<void>
override
deleteWithPath(String filePath) Future<void>
override
dispose() → void
override
fetch() → void
override
getData(StorageFile storageFile, [int maxSize = 10485760]) Future<Uint8List?>
override
getDataWithPath(String filePath, [int maxSize = 10485760]) Future<Uint8List?>
override
getDownloadUrl(StorageFile storageFile) Future<String>
override
getDownloadUrlWithPath(String filePath) Future<String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ref(StorageFile storageFile) Reference
override
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>
override
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>
override
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>
override
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>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fileName({int? length}) String