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 promiseToFuture<$js.BookmarkTreeNode>($js.chrome.bookmarks.move(
    id,
    destination.toJS,
  ));
  return BookmarkTreeNode.fromJS($res);
}