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