deleteCache static method

Future<void> deleteCache()

Implementation

static Future<void> deleteCache() async {
  final dir = await getApplicationCacheDirectory();
  await dir.delete(recursive: true);
}