leaf property

bool get leaf

Implementation

bool get leaf => children.isEmpty;