createDOMEvent method
Implementation
@override
DOMEvent? createDOMEvent(DOMTreeMap<Node> treeMap, event) {
if (event is Event) {
var eventTarget = event.target as Node?;
var domTarget = treeMap.getMappedDOMNode(eventTarget);
return DOMEvent(treeMap, event, eventTarget, domTarget as DOMElement?);
}
return null;
}