setOptions method

void setOptions(
  1. List<TreeNode> options
)

set options TreeSelectController is used to set options.

Implementation

void setOptions(List<TreeNode> options) {
  value._options.clear();
  value._options.addAll(options);
  notifyListeners();
}