deleteBookmark method
- String bookmarkId
Deletes the bookmarkId bookmark from the storage.
Implementation
String? deleteBookmark(String bookmarkId) {
Pointer<BufferString> bookmarkIdBuffer = BufferString.fromDartString(bookmarkId);
Pointer<BufferString> str = (deleteBookmarkNative?.call(_sdk, bookmarkIdBuffer))!;
String result = str.ref.toString();
freeBufferString(bookmarkIdBuffer);
if (str != nullptr) {
freeBufferString(str);
}
return result;
}