Future<Blob> toBlob(String type, [Object arguments]) { var completer = new Completer<Blob>(); _toBlob((value) { completer.complete(value); }, type, arguments); return completer.future; }