systemOne.
Place the image in state or question content, or interpolate it into a withAssets
tagged template; either way it is sent under its own reference, String(image). To
reference it by a name of your choice, pass it in assets instead.
The image must be PNG or JPEG. The API detects the format from the file bytes and rejects
other formats with a BadRequestError. Blob data is read when the request is sent, and its
type is ignored. For base64 text, use Image.fromBase64.
Parameters
data
ArrayBuffer | ArrayBufferView<ArrayBufferLike> | Blob
Image file bytes, or a Blob such as a File.
Returns
Image
Throws
data is empty or isn’t file bytes or a Blob.

