dispatchOnKey method

  1. @override
PCanvasKeyEvent dispatchOnKey(
  1. PCanvasKeyEvent event
)
override

Processes event and calls onKey

Implementation

@override
PCanvasKeyEvent dispatchOnKey(PCanvasKeyEvent event) {
  var event2 = super.dispatchOnKey(event);
  onKey(event2);
  return event2;
}