children method
The child nodes of this node.
Implementation
Iterable<TreeNodeInfo> children() {
return switch (this) {
CompositeNodeInfo(children: var c) => c,
_ => const <TreeNodeInfo>[],
};
}
The child nodes of this node.
Iterable<TreeNodeInfo> children() {
return switch (this) {
CompositeNodeInfo(children: var c) => c,
_ => const <TreeNodeInfo>[],
};
}