LocationAccuracy class

Represent the possible location accuracy values.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
The current location accuracy value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

best → const LocationAccuracy
Location is accurate within a distance of ~0m on iOS and between 0m and 100m on Android
const LocationAccuracy._(4)
bestForNavigation → const LocationAccuracy
Location accuracy is optimized for navigation on iOS and matches the LocationAccuracy.best on Android
const LocationAccuracy._(5)
high → const LocationAccuracy
Location is accurate within a distance of 10m on iOS and between 0m and 100m on Android
const LocationAccuracy._(3)
low → const LocationAccuracy
Location is accurate within a distance of 1000m on iOS and 500m on Android
const LocationAccuracy._(1)
lowest → const LocationAccuracy
Location is accurate within a distance of 3000m on iOS and 500m on Android
const LocationAccuracy._(0)
medium → const LocationAccuracy
Location is accurate within a distance of 100m on iOS and between 100m and 500m on Android
const LocationAccuracy._(2)
values → const List<LocationAccuracy>
List of all possible location accuracy values.
const <LocationAccuracy>[lowest, low, medium, high, best, bestForNavigation]