ProgressUpdater<N extends num> class

A sink for the code wrapped in ProgressFuture to report its progress.

Constructors

ProgressUpdater({N? total})
A sink for the code wrapped in ProgressFuture to report its progress as a fraction of total which may or may not be defined initially.
ProgressUpdater.normalized()
A sink for the code wrapped in ProgressFuture to report its progress as a fraction of one.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total ↔ N?
The total value of which the reported progress is a fraction.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setProgress(N progress) → void
Reports the progress.
toString() String
A string representation of this object.
inherited

Operators

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