find method
- String name
Find a bookmarked route by its name.
Parameters
name: The unique name of the route to find.
Returns
int: non-negative index of the found route on success.- GemError codes: GemError.notFound.code when not found or GemError.internalAbort.code on internal errors.
Implementation
int find(final String name) {
final OperationResult resultString = objectMethod(
pointerId,
'RouteBookmarks',
'find',
args: name,
);
return resultString['result'];
}