EventListener<IEvent extends Event> constructor

const EventListener<IEvent extends Event>(
  1. EventType eventType,
  2. EventCallBack<IEvent> callBack
)

Implementation

const EventListener(this.eventType, this.callBack);