orientation abstract method
Get the current orientation as an common_pb.Orientation.
var orientation = await myMovementSensor.orientation();
For more information, see Movement Sensor component.
Implementation
Future<common_pb.Orientation> orientation({Map<String, dynamic>? extra});