TaskSnapshot class
Snapshot of a task's progress.
This class provides a snapshot of the task's state, progress, and metadata.
Constructors
- TaskSnapshot(FusabaseStorage storage, Reference ref, SettableMetadata? metadata_g)
- Constructs a new TaskSnapshot.
Properties
- bytesTransferred → int
-
Gets the number of bytes transferred.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- metadata → FullMetadata?
-
Gets the metadata of the task.
no setter
- ref → Reference
-
Gets the reference for this snapshot.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ TaskState
-
Gets the current state of the task.
getter/setter pair
- storage → FusabaseStorage
-
final
- totalBytes → int
-
Gets the total bytes of the task.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override