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