setEvent method

dynamic setEvent(
  1. NyEvent event
)

Set the event that the listener was called from

Implementation

setEvent(NyEvent event) {
  _event = event;
}