LocationData class
Represents a geographical location in the real world.
Constructors
-
LocationData.fromMap(Map<
String, dynamic> dataMap) -
Creates a new LocationData instance from a map.
factory
Properties
- accuracy → double?
-
Estimated horizontal accuracy of this location, radial, in meters
final
- altitude → double?
-
In meters above the WGS 84 reference ellipsoid. Derived from GPS informations.
final
- elapsedRealtimeNanos → double?
-
Return the time of this fix, in elapsed real-time since system boot.
Only available on Android
https://developer.android.com/reference/android/location/Location#getElapsedRealtimeNanos()
final
- elapsedRealtimeUncertaintyNanos → double?
-
Get estimate of the relative precision of the alignment of the ElapsedRealtimeNanos timestamp.
Only available on Android
https://developer.android.com/reference/android/location/Location#getElapsedRealtimeUncertaintyNanos()
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- heading → double?
-
Heading is the horizontal direction of travel of this device, in degrees
final
- headingAccuracy → double?
-
Get the estimated bearing accuracy of this location, in degrees.
Only available on Android
https://developer.android.com/reference/android/location/Location#getBearingAccuracyDegrees()
final
- isMock → bool?
-
Is the location currently mocked
final
- latitude → double?
-
Latitude in degrees
final
- longitude → double?
-
Longitude, in degrees
final
- provider → String?
-
The name of the provider that generated this fix.
Only available on Android
https://developer.android.com/reference/android/location/Location#getProvider()
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satelliteNumber → int?
-
The number of satellites used to derive the fix.
Only available on Android
https://developer.android.com/reference/android/location/Location#getExtras()
final
- speed → double?
-
In meters/second
final
- speedAccuracy → double?
-
In meters/second
final
- time → double?
-
timestamp of the LocationData
final
- verticalAccuracy → double?
-
Estimated vertical accuracy of altitude, in meters.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override