exists static method
Checks if a file or directory exists at the given path.
Implementation
static bool exists(String path) {
try {
return File(path).existsSync() || Directory(path).existsSync();
} catch (e) {
throw DeepLinkException('Failed checking existence of $path', e);
}
}