readEntries method

  1. @DomName('DirectoryReader.readEntries')
  2. @DocsEditable()
Future<List<Entry>> readEntries ()

Implementation

@DomName('DirectoryReader.readEntries')
@DocsEditable()
Future<List<Entry>> readEntries() {
  var completer = new Completer<List<Entry>>();
  _readEntries((value) {
    completer.complete(new List<Entry>.from(value));
  }, (error) {
    completer.completeError(error);
  });

  return completer.future;
}