onExitWithData<D> abstract method
Describes how transitions from this state should be handled.
This method can be used when the exit handler requires access to state data of an ancestor state.
The build function is called with a TransitionHandlerBuilderWithData that can be used to
describe the behavior of the exit transition.
Implementation
void onExitWithData<D>(void Function(TransitionHandlerBuilderWithData<D>) handler);