isLeaf property

bool get isLeaf

Whether this quadrant is a leaf (contains nodes directly)

Implementation

bool get isLeaf => _children == null;