isLeaf property

bool get isLeaf

Implementation

bool get isLeaf => childCount <= 0;