DeviceMotionEvent constructor

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

Implementation

factory DeviceMotionEvent(String type, [Map? eventInitDict]) {
  return _DeviceMotionEventImpl(type, eventInitDict);
}