QueryEvent constructor

QueryEvent(
  1. String type, {
  2. EventTarget? target,
  3. dynamic data,
})

Construct a QueryEvent with given type.

Implementation

QueryEvent(String type, {EventTarget? target, this.data}) :
_type = type, _target = target, originalEvent = null;