getValue(key, defaultValue) {
    const value = this.#storage.get(key);
    if (value === undefined) {
      return defaultValue;
    }

    return Object.assign(defaultValue, value);
  }
Get the value for a given key if it exists, or return the default value.
@param {string} key
@param {Object} defaultValue
@returns {Object}