remove method Null safety

Future<bool> remove(
  1. String key
)

Removes an entry from persistent storage.

Implementation

Future<bool> remove(String key) {
  final String prefixedKey = '$_prefix$key';
  _preferenceCache.remove(key);
  return _store.remove(prefixedKey);
}