Progress class final
A spinner line from Logger.progress.
On a terminal it rewrites one line on a timer: the frame, the message and the elapsed time. In plain mode it writes one line when it starts and one when it ends. Below Level.info it writes nothing.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → void - Ends and removes the line.
-
complete(
[String? update]) → void -
Ends with
✓ message (time);updatereplaces the message. -
fail(
[String? update]) → void -
Ends with
✗ message (time);updatereplaces the message. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String message) → void - Changes the message.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited