createSync method

  1. @override
void createSync({
  1. bool recursive = false,
})
override

Synchronously creates the directory if it doesn't exist.

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.

Implementation

@override
void createSync({bool recursive = false}) =>
    delegate.createSync(recursive: recursive);