hasHeading property

bool hasHeading
final

Whether the platform actually reported heading.

When false, heading is 0.0 as a placeholder — which is also a valid course of due north, so the two are otherwise indistinguishable. Mirrors Location.hasBearing() on Android.

Implementation

final bool hasHeading;