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