unlisten method

void unlisten(
  1. String type,
  2. EventListener handler, {
  3. bool captureThis = false,
})

Implementation

void unlisten(String type, EventListener handler,
        {bool captureThis: false}) =>
    js.unlisten(
        type,
        captureThis
            ? allowInteropCaptureThis(handler) as dynamic Function(Event)
            : allowInterop(handler));