Blob(List blobParts, [ String type, String endings ])

Source

factory Blob(List blobParts, [String type, String endings]) {
  // TODO: any coercions on the elements of blobParts, e.g. coerce a typed
  // array to ArrayBuffer if it is a total view.

  var parts = convertDartToNative_List(blobParts);
  if (type == null && endings == null) {
    return _blink.BlinkBlob.instance.constructorCallback_1_(parts);
  }
  var bag = {};
  if (type != null) bag['type'] = type;
  if (endings != null) bag['endings'] = endings;
  return _blink.BlinkBlob.instance.constructorCallback_2_(parts,
      convertDartToNative_Dictionary(bag));
}