endPosition property
Last recorded GPS coordinate in the log.
Returns the most recent valid Coordinates recorded in the log. If the
log contains no GPS samples, an invalid coordinate (0, 0) is returned.
Returns
- A Coordinates instance representing the ending position, or
(0, 0)if no GPS data is available.
Implementation
Coordinates get endPosition {
final OperationResult resultString = objectMethod(
pointerId,
'LogMetadata',
'getEndPosition',
);
return Coordinates.fromJson(resultString['result']);
}