clean static method

Future<void> clean()

清除缓存

Implementation

static Future<void> clean() async {
  try {
    Directory tempDir = await getTemporaryDirectory();
    await _delete(tempDir);
  } catch (_) {}
}