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.
no setterinherited
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.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The current value for the progress.
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