TreeType<T extends AbsNodeType> class

Constructors

TreeType.new({required T data, required List<TreeType<T>> children, required TreeType<T>? parent, bool isChildrenLoadedLazily = false})

Properties

children List<TreeType<T>>
getter/setter pair
data ↔ T
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isChildrenLoadedLazily bool
This property is used to know if the children were LAZILY loaded or not - useful ONLY in Lazy Tree View. Default value is false.
getter/setter pair
isLeaf bool
no setter
isRoot bool
no setter
parent TreeType<T>?
If parent == null, it is root of the tree.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

clone<T extends AbsNodeType>(TreeType<T> tree, TreeType<T>? parent) TreeType<T>
Static method. How to use: