all() {
      return Object.fromEntries(
        Object.entries(this.computed).map(([key, comp]) => [key, comp.value])
      );
    }
Creates a new StateManager instance.
@param {Object} store - The store object to manage state for.
@param {Object} [options={}] - Configuration options for the StateManager.
@param {string} [options.id="model"] - Unique identifier for the state in localStorage.