dispatchEvent method Null safety

void dispatchEvent(
  1. Event event
)

Dispatches the event to all listening subscribers.

Implementation

void dispatchEvent(Event event) {
  dispatchEventRaw(event, this, EventPhase.AT_TARGET);
}