clear static method

Future<void> clear()

清除缓存

Implementation

static Future<void> clear() async {
  Directory tempDir = await getTemporaryDirectory();
  if (tempDir == null) return;
  await _delete(tempDir);
}