hasChildren property

bool get hasChildren

Implementation

bool get hasChildren => children != null && children!.isNotEmpty;