expand method

void expand(
  1. T node
)

Sets the expansion state of node to true, then calls rebuild.

If node is already expanded, nothing happens.

Implementation

void expand(T node) {
  if (getExpansionState(node)) return;
  _expand(node);
  rebuild();
}