hasChildren property Null safety
Whether this node has a non-zero number of children.
Implementation
bool get hasChildren => _children?.isNotEmpty ?? false;
Whether this node has a non-zero number of children.
bool get hasChildren => _children?.isNotEmpty ?? false;