isLeaf property

bool get isLeaf

Implementation

bool get isLeaf => !hasChildren && !isSectionHeader;