find method

int find(
  1. String name
)

Find a trip by name.

Parameters

  • IN name The route name.

Returns

  • On success - the route index in current sort order, otherwise the operation error. See GemError for more codes.

Throws

  • An exception if it fails.

Implementation

int find(final String name) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RouteBookmarks',
    'find',
    args: name,
  );

  return resultString['result'];
}