async _writeToStorage(prefObj) {
    throw new Error("Not implemented: _writeToStorage");
  }
Stub function for writing preferences to storage.
@param {Object} prefObj The preferences that should be written to storage.
@returns {Promise} A promise that is resolved when the preference values
                   have been written.