heading property
@brief Heading, angle of rotation about the -Z axis (in radians).
This value represents the angle between the device's Y
axis and the magnetic north pole. When facing north, this
angle is 0, when facing south, this angle is pi.
Likewise, when facing east, this angle is pi/2, and
when facing west, this angle is -pi/2. The range of
values is -pi, pi.
Dart code snippet: @snippet navigation_manager_example.dart dart_Position_getHeading
Implementation
double? heading;