currentRangeListForEntity method
返回当前节点下所有以下类型的子节点
BrnSelectionFilterType.range
BrnSelectionFilterType.dateRange
BrnSelectionFilterType.dateRangeCalendar
Implementation
List<SelectionEntity> currentRangeListForEntity() {
List<SelectionEntity> list = [];
children.forEach((data) {
if (data.filterType == SelectionFilterType.range ||
data.filterType == SelectionFilterType.dateRange ||
data.filterType == SelectionFilterType.dateRangeCalendar) {
list.add(data);
}
});
return list;
}