TaskSnapshot class
A TaskSnapshot is returned as the result or on-going process of a Task.
Constructors
- TaskSnapshot({required Reference ref, required TaskState state, required int totalBytes, required int bytesTransferred, FullMetadata? metadata})
Properties
- bytesTransferred → int
-
The current transferred bytes of this task.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → FullMetadata?
-
The FullMetadata associated with this task.
final
- ref → Reference
-
The Reference for this snapshot.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → TaskState
-
The current task snapshot state.
final
- storage → FirebaseStorage
-
The FirebaseStorage instance used to create the task.
no setter
- totalBytes → int
-
The total bytes of the task.
final
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