Construct a QueryEvent from a native DOM event.
event
QueryEvent.from(this.originalEvent, {String? type}) : _type = type;