parentOfItem method
Gets the data information for the parent node
Implementation
NodeData? parentOfItem(dynamic item) {
NodeController controller = _rootController!.controllerOfItem(item)!;
return controller.parent?.treeNode.item;
}
Gets the data information for the parent node
NodeData? parentOfItem(dynamic item) {
NodeController controller = _rootController!.controllerOfItem(item)!;
return controller.parent?.treeNode.item;
}