moveTo method

  1. @JSName('moveTo')
Future<Entry> moveTo(
  1. DirectoryEntry parent, {
  2. 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;
}