getChildren static method
Return ordered list of all children of this node */
Implementation
static List<Tree> getChildren(Tree t) {
final kids = <Tree>[];
for (var i = 0; i < t.childCount; i++) {
kids.add(t.getChild(i)!);
}
return kids;
}