toPTRouteInstruction method
Convert to a PTRouteInstruction from this one.
Returns
- PTRouteInstruction
Throws
- An exception if it fails.
Implementation
PTRouteInstruction toPTRouteInstruction() {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteInstruction',
'toPTRouteInstruction',
);
return PTRouteInstruction.init(resultString['result'], mapId);
}