PlaybookClock class abstract
Where a playbook's time comes from.
In a running app, LivePlaybookClock waits in real time. Under a widget
test, NyTesterClock from Nylo's testing module pumps the tester
instead, so a playbook at natural speed finishes in about a second of
wall clock.
Constructors
- PlaybookClock()
-
Creates a PlaybookClock.
const
Properties
Methods
-
frame(
) → Future< void> - Waits until the next frame has been drawn.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wait(
Duration duration) → Future< void> -
Waits for
duration, letting frames render meanwhile.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited