clearChildSelection method
void
clearChildSelection()
Implementation
void clearChildSelection() {
if (children.isNotEmpty) {
for (TSelectionEntity entity in children) {
entity.isSelected = false;
if (entity.filterType == TSelectionFilterType.date) {
entity.value = null;
}
if (entity.filterType == TSelectionFilterType.range ||
entity.filterType == TSelectionFilterType.dateRange ||
entity.filterType == TSelectionFilterType.dateRangeCalendar) {
entity.customMap = {};
}
entity.clearChildSelection();
}
}
}