onBroadcast method

void onBroadcast(
  1. String blocName,
  2. T? state, {
  3. String? event,
})

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

Implementation

void onBroadcast(String blocName, T? state, {String? event}) {}