toEVRouteInstruction method

EVRouteInstruction toEVRouteInstruction()

Convert to a EVRouteInstruction from this one.

Returns

Throws

  • An exception if it fails.

Implementation

EVRouteInstruction toEVRouteInstruction() {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RouteInstruction',
    'toEVRouteInstruction',
  );

  return EVRouteInstruction.init(resultString['result'], 0);
}