invalidate static method

Future<void> invalidate(
  1. String key
)

Implementation

static Future<void> invalidate(String key) async {
  _mem.remove(key);
  await ApStorage.remove('$_prefix$key');
  AutoPilotLogger.cache('INVALIDATED', key);
}