code: def loadState(self, state):
          
          self._duration = state['duration']
          self._intensity = state['intensity']
          self._risefall = state['risefall']
docs: Loads previously saved values to this component. 
  
          :param state: return value from `stateDict`
          :type state: dict