getRecent method
Retrieves the recently added bookmarks.
numberOfItems
The maximum number of items to return.
Implementation
Future<List<BookmarkTreeNode>> getRecent(int numberOfItems) async {
var $res = await promiseToFuture<JSArray>(
$js.chrome.bookmarks.getRecent(numberOfItems));
return $res.toDart
.cast<$js.BookmarkTreeNode>()
.map((e) => BookmarkTreeNode.fromJS(e))
.toList();
}