removeData method

  1. @override
void removeData(
  1. String key
)
override

remove a cached content from cache key - the key used to store the data

Implementation

@override
void removeData(String key) async {
  if (!isInitialized) await init();
  _prefs?.remove(key);
  _prefs?.remove('$key-time');
}