code: def saveToObject(self):
          
          details = self._component.auto_details()
          for field, widget in self.inputWidgets.items():
              self._component.set(field, widget.value())
          self.attributesSaved.emit(self._component.__class__.__name__, self._component.stateDict())
docs: Re-implemented from :meth:`AbstractComponentWidget<sparkle.gui.stim.abstract_component_editor.AbstractComponentWidget.saveToObject>`