Future<Blob> file()

Source

Future<Blob> file() {
  var completer = new Completer<Blob>();
  _file((value) {
    completer.complete(value);
  }, (error) {
    completer.completeError(error);
  });
  return completer.future;
}