createDirectory method Null safety

Directory createDirectory (
  1. 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().

Implementation

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