UploadTaskSnapshot class

Holds data about the current state of the upload task.

See: firebase.google.com/docs/reference/js/firebase.storage.UploadTaskSnapshot.

Properties

bytesTransferred int
The number of bytes that have been successfully transferred.
no setter
hashCode int
The hash code for this object.
no setterinherited
jsObject → UploadTaskSnapshotJsImpl
JS object.
finalinherited
metadata FullMetadata
The metadata. Before the upload completes, it contains the metadata sent to the server. After the upload completes, it contains the metadata sent back from the server.
no setter
ref StorageReference
The StorageReference that spawned the current snapshot's upload task.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state TaskState
The actual task state.
no setter
task UploadTask
The UploadTask for this snapshot.
no setter
totalBytes int
The total number of bytes to be uploaded.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getInstance(UploadTaskSnapshotJsImpl jsObject) UploadTaskSnapshot
Creates a new UploadTaskSnapshot from a jsObject.