printTree method
Implementation
void printTree({int spaceOffset = 0}) {
for (var child in children) {
child.printTree(spaceOffset: spaceOffset + 2);
}
}
void printTree({int spaceOffset = 0}) {
for (var child in children) {
child.printTree(spaceOffset: spaceOffset + 2);
}
}