clear static method
清除缓存
Implementation
static Future<void> clear() async {
Directory tempDir = await getTemporaryDirectory();
if (tempDir == null) return;
await _delete(tempDir);
}
清除缓存
static Future<void> clear() async {
Directory tempDir = await getTemporaryDirectory();
if (tempDir == null) return;
await _delete(tempDir);
}