toBlob method

Future<Blob> toBlob([
  1. String? type,
  2. 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;
}