addEvent method Null safety

void addEvent(
  1. PointerEvent event
)

Enqueue pointer event for resampling.

Implementation

void addEvent(PointerEvent event) {
  _queuedEvents.add(event);
}