move method

Future<BookmarkTreeNode> move(
  1. String id,
  2. MoveDestination destination
)

Moves the specified BookmarkTreeNode to the provided location.

Implementation

Future<BookmarkTreeNode> move(
  String id,
  MoveDestination destination,
) async {
  var $res = await $js.chrome.bookmarks
      .move(
        id,
        destination.toJS,
      )
      .toDart;
  return BookmarkTreeNode.fromJS($res);
}