hasChildren method

bool hasChildren()

Implementation

bool hasChildren() => childeren.isNotEmpty;