remove method
- int index
Remove the bookmarked route at index.
Parameters
index: Index of the route to remove in the current sort order.
Returns
- GemError.success on success
- GemError.general if
indexdoes not identify a route or the route could not be deleted
Implementation
GemError remove(int index) {
final OperationResult result = objectMethod(
pointerId,
'RouteBookmarks',
'remove',
args: index,
);
return GemErrorExtension.fromCode(result['result']);
}