Wenn das Verzeichnis flattern

String path = 'your/path';
bool directoryExists = await Directory(path).exists();
bool fileExists = await File(path).exists();
if(directoryExists || fileExists) {
	// do stuff
}
loonix