hasChildren method

bool hasChildren()

Implementation

bool hasChildren() {
  return children != null && children!.isNotEmpty;
}