isDirectory static method
Checks if the path is a directory.
Implementation
static bool isDirectory(String path) {
try {
return Directory(path).existsSync();
} catch (e) {
throw DeepLinkException('Failed checking if directory: $path', e);
}
}