locationHeading property

double? locationHeading
getter/setter pair

Similiar to heading but with respect to sublocation north (top of the image)

Example:

// Get location heading (with respect to sublocation north)
double? locationHeading = position.locationHeading;
if (locationHeading != null) {
 print("Location heading: $locationHeading radians");
}

Implementation

double? locationHeading;