fire method Null safety

void fire(
  1. dynamic event
)

Fires a new event on the event bus with the specified event.

Implementation

void fire(event) {
  streamController.add(event);
}