constructor(type, image) {
    super(type);

    /**
     * The image related to the event.
     * @type {import("../Image.js").default}
     * @api
     */
    this.image = image;
  }
@param {string} type Type.
@param {import("../Image.js").default} image The image.