unlisten(target, type, listener) {
    if (!this.bindingMap_) {
      return;
    }

    const list = this.bindingMap_.get(type) || [];

    for (const binding of list) {
      if (binding.target == target) {
        if (listener == binding.listener || !listener) {
          binding.unlisten();
          this.bindingMap_.remove(type, binding);
        }
      }
    }
  }
Detaches an event listener from an event target.
@param {EventTarget} target The event target.
@param {string} type The event type.
@param {shaka.util.EventManager.ListenerType=} listener The event listener.
@export