Using Dart, I'm trying to access accelerometer on an HTML page. With gyro there is no issue, the documentation clearly states the DeviceOrientationEvent has alpha, beta and gamma properties and it works fine.
But with DeviceMotionEvent, how do I access acceleration? In the documentation: http://api.dartlang.org/docs/bleeding_edge/dart_html/DeviceMotionEvent.html you can read: "It provides information about the rate of rotation, as well as acceleration along all three axes.". However, the list of properties doesn't say so, neither the auto complete, nor untyped "hacking" attempts to read 'accelerationIncludingGravity'.
Can I get some hints please?
Thanks!