TaskSnapshotPlatform class abstract
The interface a task snapshot must extend.
- Inheritance
-
- Object
- PlatformInterface
- TaskSnapshotPlatform
Constructors
-
TaskSnapshotPlatform(TaskState _state, Map<
String, dynamic> _data)
Properties
- bytesTransferred → int
-
The current transferred bytes of this task.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → FullMetadata?
-
The FullMetadata associated with this task.
no setter
- ref → ReferencePlatform
-
The
Reference
for this snapshot.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → TaskState
-
The current task snapshot state.
no setter
- totalBytes → int
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
verify(
TaskSnapshotPlatform instance) → void -
Throws an AssertionError if
instance
does not extend TaskSnapshotPlatform.override