call method
Implementation
void call(List<TreeNode<T>> selectedNodes, bool multiSelect, bool selected) {
if (multiSelect) {
if (selected) {
onChanged(nodes.selectNodes(selectedNodes));
} else {
onChanged(nodes.deselectNodes(selectedNodes));
}
} else {
onChanged(nodes.setSelectedNodes(selectedNodes));
}
}