dispatchEvent method

void dispatchEvent(
  1. Event event
)

Implementation

void dispatchEvent(Event event) {
  _eventListenerMap[event.type]?.forEach((element) {
    element(event);
  });
}