cloneStartEnd method
- Coordinates start,
- Coordinates end
Clone path from the given coordinates.
Set start = end to create a circuit track.
Parameters
- IN start The start coordinates
- IN end Field coordinates
Throws
- An exception if it fails.
Implementation
Path cloneStartEnd(final Coordinates start, final Coordinates end) {
final OperationResult resultString = objectMethod(
_pointerId,
'Path',
'cloneStartEnd',
args: <String, Coordinates>{'first': start, 'second': end},
);
return Path.init(resultString['result'], _mapId);
}