hasAccuracy property

bool hasAccuracy
final

Whether the platform actually reported accuracy.

When this is false, accuracy carries no measurement: the platform could not determine it and 0.0 is a placeholder, not zero metres of error. Filtering on accuracy without checking this treats an unmeasured position as a perfectly accurate one.

On Android this mirrors Location.hasAccuracy().

Implementation

final bool hasAccuracy;