Called whenever a transition occurs in any
bloc with the given
transition occurs when a new
onTransition is called before a
bloc's state has been updated.
A great spot to add universal logging/analytics.
@mustCallSuper void onTransition(Bloc bloc, Transition transition) => null;