createSync method
Implementation
@override
Directory createSync({bool recursive = false}) {
super.createSync(recursive: recursive);
if (!existsSync()) {
if (!recursive) {
window.localStorage['${absolute.uri}'] = '{dir}';
} else {
for (Directory dir = this; !dir.existsSync() && dir.uri.pathSegments.isNotEmpty; dir = dir.parent) {
dir.createSync();
}
}
}
_emit(FileSystemEvent.create);
return this;
}