LocationAccuracy enum

Represent the possible location accuracy values.

Inheritance

Constructors

LocationAccuracy()
const

Values

lowest → const LocationAccuracy

Location is accurate within a distance of 3000m on iOS and 500m on Android

low → const LocationAccuracy

Location is accurate within a distance of 1000m on iOS and 500m on Android

medium → const LocationAccuracy

Location is accurate within a distance of 100m on iOS and between 100m and 500m on Android

high → const LocationAccuracy

Location is accurate within a distance of 10m on iOS and between 0m and 100m on Android

best → const LocationAccuracy

Location is accurate within a distance of ~0m on iOS and between 0m and 100m on Android

bestForNavigation → const LocationAccuracy

Location accuracy is optimized for navigation on iOS and matches the LocationAccuracy.best on Android

reduced → const LocationAccuracy

Location accuracy is reduced for iOS 14+ devices, matches the LocationAccuracy.lowest on iOS 13 and below and all other platforms.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<LocationAccuracy>
A constant List of the values in this enum, in order of their declaration.