exportToFile method
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
- GemError.success on success, otherwise see GemError for other values.
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']);
}