onTransform method
Called whenever a transition occurs in any controller
with the given controller
and transition
.
A transition
occurs when a new event
is added
and mapEventToState
executed.
onTransform is called before a controller
's state has been updated.
Implementation
@protected
@mustCallSuper
void onTransform(Controller controller, TransformController transition) {}