arrowList static method

Tree arrowList(
  1. String rootLabel
)

Creates an arrow-style list tree.

Implementation

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