deleteBookmark method

void deleteBookmark(
  1. BrowserBookmark bookmark
)

Delete a selected catalog from the database.

Implementation

void deleteBookmark(BrowserBookmark bookmark) async {
  _database.writeTxnSync(() {
    _database.browserBookmarks.deleteSync(bookmark.id!);
  });
}