onBroadcast method

void onBroadcast(
  1. R bloc,
  2. S? state, {
  3. String? event,
})

Called when the bloc broadcasts a new state to the connected builders

Implementation

void onBroadcast(R bloc, S? state, {String? event}) {}