preciseRoute property

List<Coordinates> get preciseRoute

Retrieves a detailed description of the recorded route.

This method returns the full list of GPS coordinates recorded during the log, including all available positions. It provides a precise and comprehensive representation of the route.

Returns

  • A list of all coordinates of the log.

Throws

  • An exception if it fails

Implementation

List<Coordinates> get preciseRoute {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'LogMetadata',
    'getPreciseRoute',
  );

  final List<dynamic> rawList = resultString['result'];

  return rawList
      .map((dynamic e) => Coordinates.fromJson(e as Map<String, dynamic>))
      .toList();
}