TimeDistanceCoordinate constructor
TimeDistanceCoordinate({
- required Coordinates coords,
- int distance = 0,
- int stamp = 0,
Creates a new time-distance-coordinate object.
The API user typically does not create instances directly.
Parameters
coords: WGS coordinates (latitude/longitude, optional altitude).distance: Relative distance in meters from an origin point. Defaults to0.stamp: Timestamp in milliseconds since epoch. Defaults to0.
Implementation
TimeDistanceCoordinate({
required this.coords,
this.distance = 0,
this.stamp = 0,
});