clearTempDir static method
Implementation
static Future<void> clearTempDir() async {
final String? tempWaterbusDir = await tempDirWaterbus;
if (tempWaterbusDir == null) return;
final Directory myDir = Directory(tempWaterbusDir);
if (!myDir.existsSync()) return;
myDir.deleteSync(recursive: true);
myDir.create();
}