isLeaf property

bool isLeaf
final

True if current node has no children (end of branch)

Implementation

final bool isLeaf;