moveTo method Null safety
- DirectoryEntry parent,
- {String? name}
Implementation
@JSName('moveTo')
Future<Entry> moveTo(DirectoryEntry parent, {String? name}) {
var completer = new Completer<Entry>();
_moveTo(parent, name, (value) {
completer.complete(value);
}, (error) {
completer.completeError(error);
});
return completer.future;
}