createDirectorySync method
SYNCHRONOUS VERSION
Creates a folder named newFolder inside the path specified by path.
It creates it only if it does not already exist.
Implementation
void createDirectorySync(final String path, final String newFolder) {
final dir = Directory(path_lib.join(path, newFolder));
if (!dir.existsSync()) {
dir.createSync();
}
}