toPTRouteInstruction method
Convert to a PTRouteInstruction from this one.
Returns
- PTRouteInstruction
Implementation
PTRouteInstruction? toPTRouteInstruction() {
  final OperationResult resultString = objectMethod(
    super.pointerId,
    'RouteInstruction',
    'toPTRouteInstruction',
  );
  if (resultString['result'] == -1) {
    return null;
  }
  return PTRouteInstruction.init(resultString['result']);
}