configureRequiredEventList method

dynamic configureRequiredEventList(
  1. Set<EnxRequiredEventsOption> btn
)

Implementation

configureRequiredEventList(Set<EnxRequiredEventsOption> btn){
  enxRequiredList.addAll(btn);
  var tagList=<String>{};
  if(enxRequiredList.isNotEmpty){
    for (var element in enxRequiredList) {
      tagList.add(element.name);
    }
    for(var item in MenuOption.values){
      if (tagList.contains(item.name)) {
        containers = true;
        break;
      }
    }
  }
}