onExit abstract method
Describes how transitions from this state should be handled.
The build function is called with a TransitionHandlerBuilder that can be used to describe
the behavior of the exit transition.
Implementation
void onExit(void Function(TransitionHandlerBuilder b) buildHandler);