currentSelectListForEntity static method
返回状态为选中的子节点
Implementation
static List<SelectionEntity> currentSelectListForEntity(
SelectionEntity entity) {
List<SelectionEntity> list = [];
for (SelectionEntity entity in entity.children) {
if (entity.isSelected) {
list.add(entity);
}
}
return list;
}