onExit abstract method

void onExit(
  1. void buildHandler(
    1. TransitionHandlerBuilder b
    )
)

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);