Set Asset File
asset.setFile(fileBlob)
Set the file of an asset. Use this method to replace the file of an existing asset with a new file.
Syntax
Parameters
- fileBlob: File - The file to set the asset to.
Returns
A Promise that resolves to null
.