TouchEvent constructor

TouchEvent(
  1. String type, [
  2. TouchEventInit? eventInitDict
])

Implementation

factory TouchEvent(String type, [TouchEventInit? eventInitDict]) =>
    TouchEvent._(type, eventInitDict ?? undefined);