Saves the barcode image.

<void> Barcode.saveImage(<ImageFormat> imageFormat, <RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
imageFormat Specifies the format used to save the image.
callback Receives the image data as a base64 string.
errorCallback Optional. Is called when the operation failed with an error.