remove static method

Future<void> remove(
  1. String key
)

Clears a specific cache entry.

Implementation

static Future<void> remove(String key) async {
  await _init();
  await _prefs?.remove('cache_$key');
}