toBlob method

Future<Blob> toBlob (String type, [ Object arguments ])

Implementation

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