createDirectory static method
Implementation
static bool createDirectory(String path) {
try {
Directory(path).createSync(recursive: true);
return true;
} catch (e) {
stderr.writeln('createDirectory error: $e');
return false;
}
}