publish method

void publish (
  1. dynamic event
)

Publish an event to all corresponding responders via EventBus

Implementation

void publish(event) {
  _streamController.add(event);
}