span property

int get span

Implementation

int get span {
  if (isLeaf) {
    return 1;
  }
  return children.length;
}