dispatchOnKey method

PCanvasKeyEvent dispatchOnKey(
  1. PCanvasKeyEvent event
)

Processes event and calls onKey on elements.

Implementation

PCanvasKeyEvent dispatchOnKey(PCanvasKeyEvent event) {
  var event2 = _resolveInnerKeyEvent(event);
  elements.dispatchOnKey(event);
  return event2;
}