readEntries method

Future<List<Entry>> readEntries ()

Implementation

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;
}