ActionRun class final

An action while it runs.

Properties

cancelled → bool
Whether someone asked the action to stop, or the world is closing. An action that takes time checks it, or awaits whenCancelled.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
whenCancelled → Future<void>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
progress(String message, {double? fraction}) → void
Says how far the action is: Leo is 200 m from the shop, and a fraction from 0 to 1 when it knows one.
toString() → String
A string representation of this object.
inherited

Operators

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