ArcGISLocation class final

A location data object.

This object contains a location data, including its position point, velocity, accuracy, course etc.

Implemented types

Constructors

ArcGISLocation({DateTime? timestamp, required ArcGISPoint position, required double horizontalAccuracy, required double verticalAccuracy, required double speed, required double course, bool lastKnown = false, Map<String, dynamic> additionalSourceProperties = const {}})
Creates a location object with timestamp and additional source properties.
factory

Properties

additionalSourceProperties Map<String, dynamic>
A set of key-value pairs providing additional meta-data and properties about the source of this ArcGISLocation.
no setter
course double
The course of the location in degrees clockwise, 0 being true North.
no setter
hashCode int
The hash code for this object.
no setterinherited
horizontalAccuracy double
The horizontal accuracy of the location in meters.
no setter
lastKnown bool
Indicates whether this is an outdated device position retrieved and cached earlier and therefore not guaranteed to represent the current location.
no setter
position ArcGISPoint
The position of the location.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double
The speed of the location in meters per second.
no setter
timestamp DateTime?
The timestamp of the location.
no setter
verticalAccuracy double
The vertical accuracy of the location in meters.
no setter

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