directoryExists function

bool directoryExists(
  1. String path
)

Returns true if directory exists or false if not

Implementation

bool directoryExists(String path) {
  path = pathExpand(path);
  return dart_io.Directory(path).existsSync();
}