onEvent method

  1. @protected
  2. @mustCallSuper
void onEvent(
  1. Bloc bloc,
  2. Object? event
)
inherited

Called whenever an event is added to any bloc with the given bloc and event.

Implementation

@protected
@mustCallSuper
void onEvent(Bloc bloc, Object? event) {}