PMProgressState class
A state class that contains progress of the current downloading and state to indicate the request state of the asset.
- Annotations
Constructors
- PMProgressState(double progress, PMRequestState state)
-
Creates a new PMProgressState object with the given progress and state values.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- progress → double
-
A value between 0.0 and 1.0 representing the progress of the download.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → PMRequestState
-
Indicate the current state when an asset is loading with PMProgressHandler.
final
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