clearAll static method

Future<void> clearAll()

Implementation

static Future<void> clearAll() async {
  _mem.clear();
  final keys = ApStorage.keys(prefix: _prefix);
  for (final k in keys) {
    await ApStorage.remove(k);
  }
  AutoPilotLogger.cache('CLEARED ALL', '');
}