stop method

void stop()

Sets the machine to its stop state.

Implementation

void stop() => current = _stop;