toJson method
Returns a JSON representation of BarcodeImageParams.
Implementation
Map<String, dynamic> toJson() {
return {
'imageFormat': imageFormat,
'textLocation': textLocation,
'foregroundColor': foregroundColor,
'backgroundColor': backgroundColor,
'units': units,
'resolution': resolution,
'imageHeight': imageHeight,
'imageWidth': imageWidth,
'rotationAngle': rotationAngle
};
}