removeItem method

  1. @override
Future<void> removeItem({
  1. required String key,
})
override

Removes an item asynchronously from the storage for the given key.

Implementation

@override
Future<void> removeItem({required String key}) async {
  await _initializationCompleter.future;
  await _prefs.remove(key);
}