TreeRoot<T> class

Inheritance

Constructors

TreeRoot({required List<TreeNode<T>> children})

Properties

children → List<TreeNode<T>>
final
expanded → bool
no setteroverride
hashCode → int
The hash code for this object.
no setteroverride
leaf → bool
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selected → bool
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override
updateChildren(List<TreeNode<T>> children) → TreeRoot<T>
override
updateState({bool? expanded, bool? selected}) → TreeRoot<T>
override

Operators

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