remove method

GemError remove(
  1. int index
)

Remove the bookmarked route at index.

Parameters

  • index: Index of the route to remove in the current sort order.

Returns

Implementation

GemError remove(int index) {
  final OperationResult result = objectMethod(
    pointerId,
    'RouteBookmarks',
    'remove',
    args: index,
  );

  return GemErrorExtension.fromCode(result['result']);
}