You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I don't know why but it seems that we cannot get the children directly from a BookmarkTreeNode.
import'dart:async';
import'package:chrome/chrome_ext.dart'as chrome;
voidmain() async {
// Get the folder node
chrome.BookmarkTreeNode folder = (await chrome.bookmarks.search("FolderName")).first;
print(folder.children); // Children is null. Why ???// Get the childrenList<chrome.BookmarkTreeNode> childrenList =await chrome.bookmarks.getChildren(folder.id);
print(childrenList); // Here is not
}
Hi,
I don't know why but it seems that we cannot get the children directly from a BookmarkTreeNode.
Console output:
The text was updated successfully, but these errors were encountered: