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