createDirectory method

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);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/IOOverrides/createDirectory.html