angularVelocity abstract method

Future<Vector3> angularVelocity({
  1. Map<String, dynamic>? extra,
})

Get the current angular velocity as a Vector3 with x, y, and z axes represented in radians per second.

var angVel = await myMovementSensor.angularVelocity();

For more information, see Movement Sensor component.

Implementation

Future<Vector3> angularVelocity({Map<String, dynamic>? extra});