Метод createDirectory
Future<Entry> createDirectory(Создать новую директорию с указанным path. Если exclusive имеет значение true, возвращаемое Future завершится ошибкой, если директория с указанным path уже существует.
Исходный код
Future<Entry> createDirectory(String path, {bool exclusive: false}) {
return _getDirectory(path,
options: {'create': true, 'exclusive': exclusive});
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DirectoryEntry/createDirectory.html