dispatchEvent method Null safety

void dispatchEvent(
  1. PointerEvent event,
  2. HitTestResult result
)

Override this method to dispatch events.

Implementation

void dispatchEvent(PointerEvent event, HitTestResult result);