onDeviceMotion property
@DocsEditable(), @DomName('Window.ondevicemotion'), @Experimental()
Stream of devicemotion
events handled by this Window.
Implementation
@DomName('Window.ondevicemotion')
@DocsEditable()
// http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion
@Experimental()
Stream<DeviceMotionEvent> get onDeviceMotion =>
deviceMotionEvent.forTarget(this);