I have a scenario in which I get a List of Points that need to be converted to a TouchEvent which needs to be applied to the DOM to fire the appropriate listeners. The receiving end works with touchEvent.targetTouches[].
I have found these answers on Stackoverflow for JavaScript:
How do I programmatically create a TouchEvent in Chrome 41?
var e = document.createEvent('TouchEvent');
e.touches = [{pageX: pageX, pageY: pageY}];
In Dart this would roughly translate to:
TouchEvent e = new Event.eventType("TouchEvent", "touchstart");
e.touches
is read only, so how do I set the coordinates?