find method
- String name
Find a trip by name.
Parameters
- IN name The route name.
Returns
- On success - the route index in current sort order (non negative).
- GemError.internalAbort.code if query failed
- GemError.notFound.code if the route is not found
Throws
- An exception if it fails.
Implementation
int find(final String name) {
final OperationResult resultString = objectMethod(
_pointerId,
'RouteBookmarks',
'find',
args: name,
);
return resultString['result'];
}