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

elapsed → Duration
How much time has passed on this clock since it was created.
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

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