updateChildren method

  1. @override
TreeItem<T> updateChildren(
  1. List<TreeNode<T>> children
)
override

Implementation

@override
TreeItem<T> updateChildren(List<TreeNode<T>> children) {
  return TreeItem(
    data: data,
    children: children,
    expanded: expanded,
    selected: selected,
  );
}