hasChildren method

bool hasChildren()

Implementation

bool hasChildren() => children.isNotEmpty;