existsSync_ method
Checks whether the FileSystemEntity exists or not.
Implementation
bool existsSync_() {
try {
if (this is File) {
return File(addPrefix(path)).existsSync();
} else if (this is Directory) {
return Directory(addPrefix(path)).existsSync();
} else {
return false;
}
} catch (exception, stacktrace) {
print(exception.toString());
print(stacktrace.toString());
return false;
}
}