setOptions method
set options TreeSelectController is used to set options.
Implementation
void setOptions(List<TreeNode> options) {
value._options.clear();
value._options.addAll(options);
notifyListeners();
}
set options TreeSelectController is used to set options.
void setOptions(List<TreeNode> options) {
value._options.clear();
value._options.addAll(options);
notifyListeners();
}