getParent method

  1. @JSName('getParent')
Future<Entry> getParent()

Implementation

@JSName('getParent')
Future<Entry> getParent() {
  var completer = new Completer<Entry>();
  _getParent((value) {
    applyExtension('Entry', value);
    applyExtension('webkitFileSystemEntry', value);
    applyExtension('FileSystemEntry', value);
    completer.complete(value);
  }, (error) {
    completer.completeError(error);
  });
  return completer.future;
}