BookmarkTreeNode class

Constructors

BookmarkTreeNode({required String id, String? parentId, int? index, String? url, required String title, double? dateAdded, double? dateLastUsed, double? dateGroupModified, FolderType? folderType, BookmarkTreeNodeUnmodifiable? unmodifiable, required bool syncing, List<BookmarkTreeNode>? children})
BookmarkTreeNode.fromJS(BookmarkTreeNode _wrapped)

Properties

children ↔ List<BookmarkTreeNode>?
An ordered list of children of this node.
getter/setter pair
dateAdded ↔ double?
When this node was created, in milliseconds since the epoch (new Date(dateAdded)).
getter/setter pair
dateGroupModified ↔ double?
When the contents of this folder last changed, in milliseconds since the epoch.
getter/setter pair
dateLastUsed ↔ double?
When this node was last opened, in milliseconds since the epoch. Not set for folders.
getter/setter pair
folderType ↔ FolderType?
If present, this is a folder that is added by the browser and that cannot be modified by the user or the extension. Child nodes may be modified, if this node does not have the unmodifiable property set. Omitted if the node can be modified by the user and the extension (default).There may be zero, one or multiple nodes of each folder type. A folder may be added or removed by the browser, but not via the extensions API.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
The unique identifier for the node. IDs are unique within the current profile, and they remain valid even after the browser is restarted.
getter/setter pair
index ↔ int?
The 0-based position of this node within its parent folder.
getter/setter pair
parentId ↔ String?
The id of the parent folder. Omitted for the root node.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
syncing ↔ bool
Whether this node is synced with the user's remote account storage by the browser. This can be used to distinguish between account and local-only versions of the same FolderType. The value of this property may change for an existing node, for example as a result of user action.Note: this reflects whether the node is saved to the browser's built-in account provider. It is possible that a node could be synced via a third-party, even if this value is false.
getter/setter pair
title ↔ String
The text displayed for the node.
getter/setter pair
toJS → BookmarkTreeNode
no setter
unmodifiable ↔ BookmarkTreeNodeUnmodifiable?
Indicates the reason why this node is unmodifiable. The managed value indicates that this node was configured by the system administrator or by the custodian of a supervised user. Omitted if the node can be modified by the user and the extension (default).
getter/setter pair
url ↔ String?
The URL navigated to when a user clicks the bookmark. Omitted for folders.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited