description

# copyTo method

1. @JSName.new('copyTo')

Future<Entry> copyTo(

1. DirectoryEntry parent, {
2. String? name,

})

## Implementation

    @JSName('copyTo')
    Future<Entry> copyTo(DirectoryEntry parent, {String? name}) {
      var completer = new Completer<Entry>();
      _copyTo(
        parent,
        name,
        (value) {
          completer.complete(value);
        },
        (error) {
          completer.completeError(error);
        },
      );
      return completer.future;
    }