ProgressValue class

PODO that holds the value of progress. The progress can be anything.

Annotations

Constructors

ProgressValue({bool error: false, @required int max, @required int value})
Creates the progress instance.

Properties

error bool
Set to true if this progress will result in an error if it hits the complete stage. Set to false otherwise.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
max int
The max value for the progress. This must be 1 or higher.
final
progress double
The one-based percent value for the progress.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
The current value for the progress.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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