FirebaseStorage class abstract
FirebaseStorage is a service that supports uploading and downloading large objects to Google Cloud Storage.
Constructors
Properties
- app → FirebaseApp
-
The FirebaseApp instance to which this FirebaseStorage belongs.
no setter
- bucket → String
-
The Google Cloud Storage bucket to which this FirebaseStorage belongs.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDownloadRetryTime → Duration
-
The maximum time to retry downloads.
no setter
- maxOperationRetryTime → Duration
-
The maximum time to retry operations other than uploads or downloads.
no setter
- maxUploadRetryTime → Duration
-
The maximum time to retry uploads.
no setter
- 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
-
ref(
[String? path]) → Reference - Creates a new Reference initialized at the root Firebase Storage location.
-
refFromURL(
String fullUrl) → Reference - Creates a Reference given a gs:// or // URL pointing to a Firebase Storage location.
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FirebaseStorage
-
Returns the FirebaseStorage instance, initialized with the default
FirebaseApp.
final
Static Methods
-
instanceFor(
{FirebaseApp? app, String? bucket}) → FirebaseStorage -
Returns the FirebaseStorage instance, initialized with a custom
FirebaseApp if
app
is specified and a custom Google Cloud Storage bucket ifbucket
is specified. Otherwise the instance will be initialized with the default FirebaseApp.