MyLocation class

Constructors

MyLocation(double longitude, double latitude, DateTime time, double altitude, double bearing, double speed, double accuracy, double verticalAccuracy, double bearingAccuracy, double speedAccuracy, String provider, int satelliteCount)

Properties

accuracy ↔ double
read / write
altitude ↔ double
read / write
bearing ↔ double
read / write
bearingAccuracy ↔ double
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
latitude ↔ double
read / write
longitude ↔ double
read / write
provider ↔ String
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
satelliteCount ↔ int
read / write
speed ↔ double
read / write
speedAccuracy ↔ double
read / write
time ↔ DateTime
read / write
verticalAccuracy ↔ double
read / write

Methods

bearingToDirectionName() → String
angle of movement to direction name conversion
getParsedTimeString() → String
parses time to pretty format
getSpeedAccuracyInKiloMetersPerHour() → double
by default speedAccuracy stays in meters/ sec
getSpeedInKiloMetersPerHour() → double
by default speed stays in meters/ sec
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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