FirebaseStorage class Null safety

The entrypoint for FirebaseStorage.

Inheritance

Properties

app FirebaseApp
The FirebaseApp for this current FirebaseStorage instance.
read / write
bucket String
The storage bucket of this instance.
read / write
hashCode int
The hash code for this object. [...]
read-only, override
maxDownloadRetryTime Duration
The maximum time to retry downloads in milliseconds.
read-only
maxOperationRetryTime Duration
The maximum time to retry operations other than uploads or downloads in milliseconds.
read-only
maxUploadRetryTime Duration
The maximum time to retry uploads in milliseconds.
read-only
pluginConstants Map
Returns any plugin constants this plugin app instance has initialized.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
ref([String? path]) Reference
Returns a new Reference. [...]
refFromURL(String url) Reference
Returns a new Reference from a given URL. [...]
setMaxDownloadRetryTime(Duration time) → void
Sets the new maximum download retry time.
setMaxOperationRetryTime(Duration time) → void
Sets the new maximum operation retry time.
setMaxUploadRetryTime(Duration time) → void
Sets the new maximum upload retry time.
toString() String
A string representation of this object. [...]
override
useEmulator({required String host, required int port}) Future<void>
Changes this instance to point to a Storage emulator running locally. [...]
@Deprecated('Will be removed in future release. ' 'Use useStorageEmulator().')
useStorageEmulator(String host, int port) Future<void>
Changes this instance to point to a Storage emulator running locally. [...]

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Static Properties

instance FirebaseStorage
Returns an instance using the default FirebaseApp.
read-only

Static Methods

instanceFor({FirebaseApp? app, String? bucket}) FirebaseStorage
Returns an instance using a specified FirebaseApp and/or custom storage bucket. [...]