Dart API Reference
dart:html
Window
onDeviceMotion
onDeviceMotion
property
Stream
<
DeviceMotionEvent
>
onDeviceMotion
read-only