GpsStay.fromPoint constructor
Constructs a GpsStay from the data in point
, with optionally the
additional information in accuracy and endTime
.
Implementation
GpsStay.fromPoint(GpsPoint point, {this.accuracy, GpsTime? endTime})
: _endTime = _endTimeToInternal(endTime, point.time),
super(
time: point.time,
latitude: point.latitude,
longitude: point.longitude,
altitude: point.altitude,
);