DeviceMotionEvent constructor

DeviceMotionEvent(
  1. String type, [
  2. DeviceMotionEventInit? eventInitDict
])

Implementation

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