ondevicemotion top-level property

dynamic Function(DeviceMotionEvent)? get ondevicemotion

Available only in secure contexts.

MDN Reference

Implementation

_i2.dynamic Function(_i3.DeviceMotionEvent)? get ondevicemotion =>
    (_i3.DeviceMotionEvent p0) => _i4.callMethod(
          _i4.getProperty(
            _self,
            'ondevicemotion',
          ),
          r'call',
          [
            _self,
            p0,
          ],
        );