select method
When given a selected entity, this will check the treeoptions for children and select them all.
Implementation
@override
bool select(T value) {
bool wasNewSelection = super.select(value);
if (wasNewSelection) {
super.selectAll(_treeOptions.allChildrenOf(value));
}
return wasNewSelection;
}