Directory createDirectory(String path)

Creates a new Directory object for the given path.

When this override is installed, this function overrides the behavior of new Directory() and new Directory.fromUri().

Source

Directory createDirectory(String path) => new _Directory(path);