call method

void call(
  1. bool expanded
)

Implementation

void call(bool expanded) {
  if (expanded) {
    onChanged(nodes.expandNode(target));
  } else {
    onChanged(nodes.collapseNode(target));
  }
}