updateString method
Updates an existing String key with a new value.
Throws StorageException if the key does not exist.
Implementation
Future<void> updateString(String key, String newValue) async {
await _assertExists(key);
await setString(key, newValue);
}