coordinates property

Coordinates get coordinates

Get coordinates for this route instruction.

Returns

  • Coordinates of the instruction location

Throws

  • An exception if it fails.

Implementation

Coordinates get coordinates {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RouteInstructionBase',
    'getCoordinates',
  );

  return Coordinates.fromJson(resultString['result']);
}