removeEventListener method

void removeEventListener(
  1. String event,
  2. void callback(
    1. Event
    ), {
  3. Map<String, String>? options,
})

Implementation

void removeEventListener(String event, void Function(Event) callback,
    {Map<String, String>? options}) {
  element?.removeEventListener(
    event,
    callback.toJS,
    options as JSAny,
  );
}