printTree method

void printTree({
  1. int spaceOffset = 0,
})

Implementation

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