Future<Entry> getDirectory(String path)

Retrieve an already existing directory entry. The returned future will result in an error if a directory at path does not exist or if the item at path is not a directory.

Source

Future<Entry> getDirectory(String path) {
  return _getDirectory(path);
}