isLeaf property

bool get isLeaf

Implementation

bool get isLeaf => children.isEmpty;