getExpansionState method
The current expansion state of node
.
If this method returns true
, the children of node
should be visible
in tree views.
Implementation
bool getExpansionState(T node) {
return _expandedNodesCache?.contains(node) ?? false;
}