ConsoleMonitor constructor
ConsoleMonitor(
- StateMachine stateMachine, {
- void printer() = _simplePrint,
Test
The stateMachine
is the state machine to be monitored.
printer
Defines a function we want monitor to use to
output active states. If not given the default implementation
will use print().
Implementation
ConsoleMonitor(
this.stateMachine, {
this.printer = _simplePrint,
});