collapseItem method

void collapseItem(
  1. TreeNode treeNode
)

Begin collapse

Implementation

void collapseItem(TreeNode treeNode) {
  /// - warning
  NodeController controller =
      _rootController!.controllerOfItem(treeNode.item)!;
  controller.collapseAndCollapseChildren(true);
}