hasChildren property

bool get hasChildren

Checks of this tree element has children

Implementation

bool get hasChildren {
  final children = this.children;

  return children != null && children.isNotEmpty;
}