Position class

The Position information returned by the system

Constructors

Position({double? latitude, double? longitude, double? accuracy, double? verticalAccuracy, double? altitude, double? speed, double? speedAccuracy, double? heading, double? time})

Properties

accuracy double?
Estimated horizontal accuracy of this location, radial, in meters
final
altitude double?
The altitude of the device, in meters Always 0 on web
final
hashCode int
The hash code for this object.
no setteroverride
heading double?
The heading on the horizontal direction of travel, in degrees Always 0 on web
final
latitude double?
The latitutde in degrees
final
longitude double?
The longitude in degrees
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double?
In meters/second Always 0 on web
final
speedAccuracy double?
How accurate the speed is, in meters/second Always 0 on web
final
time double?
Timestamp of the LocationData
final
verticalAccuracy double?
Estimated vertical accuracy of this location, 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 ==(dynamic other) bool
The equality operator.
override