toBlob 方法

Future<Blob> toBlob(
  1. [String? type,
  2. Object? arguments]
)

实现

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