NodeData class Null safety

This class contains information about the nodes, such as Index and level, and whether to expand. It also contains other information

Constructors

NodeData()

Properties

children List<NodeData>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
index int
Index in all nodes
read / write
indexInParent int
Index in parent node
read / write
isExpand bool
read / write
isSelected bool
read / write
level int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addChild(NodeData child) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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