hasChildren property

bool get hasChildren

Implementation

bool get hasChildren =>
    isLeaf != true && (children.isNotEmpty || isLeaf == null);