resetSelectionDatas static method

void resetSelectionDatas(
  1. SelectionEntity entity
)

设置数据为未选中状态

Implementation

static void resetSelectionDatas(SelectionEntity entity) {
  entity.isSelected = false;
  entity.customMap = Map();
  for (SelectionEntity subEntity in entity.children) {
    resetSelectionDatas(subEntity);
  }
}