LocationDatum class

Holds location information using the GPS format.

Inheritance
Annotations

Constructors

LocationDatum()
LocationDatum.fromJson(Map<String, dynamic> json)
factory
LocationDatum.fromLocationDto(LocationDto dto)

Properties

accuracy double
Accuracy in absolute measures.
read / write
altitude double
Altitude in GPS coordinates.
read / write
format DataFormat
The DataFormat of this Datum.
read-only, override
gpsCoordinates → dynamic
The 2D GPS coordinates latitude, longitude.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
heading double
Heading in degrees
read / write
id String
Unique identifier for the current Datum, unique across all data generated.
read / write, inherited
latitude double
Latitude in GPS coordinates.
read / write
longitude double
Longitude in GPS coordinates.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
speed double
Estimated movement speed.
read / write
speedAccuracy double
Accuracy in speed estimation. [...]
read / write
time DateTime
The time when this location was collected.
read / write
timestamp DateTime
The UTC timestamp for generating this data on the device.
read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Return a JSON encoding of this datum.
override
toString() String
A string representation of this object. [...]
override

Operators

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

Constants

CARP_DATA_FORMAT → const DataFormat
The DataFormat of this type of CARPDatum.
DataFormat(NameSpace.CARP, ContextSamplingPackage.LOCATION)