On this page
createSync abstract method
void createSync(Synchronously creates the directory with this name.
If recursive
is false, only the last directory in the path is created. If recursive
is true, all non-existing path components are created. If the directory already exists nothing is done.
If the directory cannot be created an exception is thrown.
Source
void createSync({bool recursive: false});
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/Directory/createSync.html