resetChildNodesAfterChildAtIndex method

void resetChildNodesAfterChildAtIndex(
  1. int index
)

Implementation

void resetChildNodesAfterChildAtIndex(int index) {
  if (!treeNode.expanded) {
    return;
  }

  for (int i = index + 1; i < childControllers.length; i++) {
    NodeController controller = childControllers[i];
    controller.resetData();
    controller.resetChildNodesAfterChildAtIndex(-1);
  }
}