final selectedItemsArr = optionList.where((element) => (element.value ?? false == true)).toList(); //array of only selected items