clearAll static method
Implementation
static Future<void> clearAll() async {
_mem.clear();
final p = await SharedPreferences.getInstance();
final keys = p.getKeys().where((k) => k.startsWith('ap_cache_')).toList();
for (final k in keys) await p.remove(k);
AutoPilotLogger.logCache('CLEARED ALL', '');
}