printTree static method

String printTree(
  1. NodeV2 tree
)

Implementation

static String printTree(NodeV2 tree) {
  return printTreeAtLevel(tree, 0).trim();
}