onTransition method

  1. @override
void onTransition(
  1. Bloc bloc,
  2. Transition transition
)

Bloc Observer override method for onTransition For Flutter Instamojo Plugin

Implementation

@override
void onTransition(Bloc bloc, Transition transition) {
  if (kDebugMode) {
    print('${bloc.runtimeType} $transition');
  }
  super.onTransition(bloc, transition);
}