createBookmark method

String createBookmark()

Creates the bookmark for the current page in CFI format. Use openBookmark to open this page.

Implementation

String createBookmark() {
  Pointer<BufferString> str = (createBookmarkNative?.call(_sdk))!;

  String result = str == nullptr ? '' : str.ref.toString();

  if (str != nullptr) {
    freeBufferString(str);
  }

  return result;
}