DeviceMotionEvent constructor

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

Implementation

factory DeviceMotionEvent(
  _i2.String type, [
  _i3.DeviceMotionEventInit? eventInitDict,
]) =>
    _i4.callConstructor(
      _declaredDeviceMotionEvent,
      [
        type,
        eventInitDict ?? _i6.undefined,
      ],
    );