clearCacheDir static method

Future<void> clearCacheDir()

Implementation

static Future<void> clearCacheDir() async {
  final temDir = await getTemporaryDirectory();
  _clearDir(temDir);
  final docDir = await getApplicationDocumentsDirectory();
  _clearDir(docDir);
}