Called when bloc calls the setState method
setState
void onEvent(String blocName, T? currentState, T? update, {String? event}) {}