clone method

Bookmark clone()

Clones the Bookmark.

Return Value: A new Bookmark with the same values as the current Bookmark.

Implementation

Bookmark clone() {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Bookmark_clone(_handle, errorHandler);
  });
  return Bookmark._fromHandle(objectHandle)!;
}