exportToFile method

GemError exportToFile(
  1. int index,
  2. String path
)

Export the route to the given file.

Parameters

  • IN index The route index to be exported.
  • IN path The file path where the route will be exported

Returns

Throws

  • An exception if it fails.

Implementation

GemError exportToFile(final int index, final String path) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RouteBookmarks',
    'exportToFile',
    args: <String, Object>{'index': index, 'path': path},
  );

  return GemErrorExtension.fromCode(resultString['result']);
}