removeEventListener method Null safety

void removeEventListener(
  1. dynamic eventName,
  2. void listener(
    1. dynamic event
    )
)

Remove an event listener for the specified event.

Implementation

external void removeEventListener/*<TEvent extends PlayerEvent>*/(
    dynamic /*keyof Events*/ eventName,
    void Function(dynamic /*TEvent*/ event) listener);