endTime property

  1. @override
dynamic endTime
override

End time of the stay in the specified location (must be >= time).

The stay duration is to be regarded as exclusive of endTime. This means that if in a list we have two consecutive GpsStay items defined (with position being the latitude/longitude components) as:

0: time=1, position=A, endTime=2
1: time=2, position=B, endTime=3

for time=2 the correct position is B, not A.

Implementation

@override
get endTime => _endTime ?? time;