onRemoved property

EventStream<OnRemovedEvent> get onRemoved

Fired when a bookmark or folder is removed. When a folder is removed recursively, a single notification is fired for the folder, and none for its contents.

Implementation

EventStream<OnRemovedEvent> get onRemoved =>
    $js.chrome.bookmarks.onRemoved.asStream(($c) => (
          String id,
          $js.OnRemovedRemoveInfo removeInfo,
        ) {
          return $c(OnRemovedEvent(
            id: id,
            removeInfo: OnRemovedRemoveInfo.fromJS(removeInfo),
          ));
        }.toJS);