onEvent method
Called when bloc calls the setState
method
Implementation
void onEvent(R bloc, S? currentState, S? update, {String? event}) {}
Called when bloc calls the setState
method
void onEvent(R bloc, S? currentState, S? update, {String? event}) {}