onEvent method
Called whenever an event
is added
to any bloc
with the given bloc
and event
.
Implementation
@protected
@mustCallSuper
void onEvent(Bloc<dynamic, dynamic> bloc, Object? event) {}
Called whenever an event
is added
to any bloc
with the given bloc
and event
.
@protected
@mustCallSuper
void onEvent(Bloc<dynamic, dynamic> bloc, Object? event) {}