clearAllCache method

Future<void> clearAllCache()

Clear all cached skills

Implementation

Future<void> clearAllCache() async {
  final cacheDirObj = Directory(cacheDir);
  if (await cacheDirObj.exists()) {
    await cacheDirObj.delete(recursive: true);
  }
}