toBlob

fun toBlob(    _callback: (Blob?) -> Unit,     type: String = definedExternally,     quality: Any? = definedExternally)