code: def update_list_widget(self):
          
          # Get selected radio button
          radio_button_checked_id = self.input_button_group.checkedId()
          # No radio button checked, then default value = None
          if radio_button_checked_id > -1:
              selected_dict = list(self._parameter.options.values())[
                  radio_button_checked_id]
              if selected_dict.get('type') == MULTIPLE_DYNAMIC:
                  for field in selected_dict.get('value'):
                      # Update list widget
                      field_item = QListWidgetItem(self.list_widget)
                      field_item.setFlags(
                          Qt.ItemIsEnabled
                          | Qt.ItemIsSelectable
                          | Qt.ItemIsDragEnabled)
                      field_item.setData(Qt.UserRole, field)
                      field_item.setText(field)
                      self.list_widget.addItem(field_item)
docs: Update list widget when radio button is clicked.