ascii static method

Tree ascii(
  1. String rootLabel
)

Creates an ASCII-compatible tree.

Implementation

static Tree ascii(String rootLabel) {
  return Tree()
    ..root(rootLabel)
    ..enumerator(TreeEnumerator.ascii);
}