setItemSelection method
Implementation
void setItemSelection(MultiSelectorEntity node, bool? checked) {
setState(() {
node.isSelected = checked ?? false;
if (node.isSelected) _clearChildrenSelection(node);
_updateParentSelection(widget.data);
widget.onSelectionChanged(_collectSelectedLeaves(widget.data));
});
}