setParameters method
Updates the barcode detection parameters.
params: A JSON string representing the new detection settings.
Returns 0 on success, or an error code on failure.
Implementation
Future<int> setParameters(String params) async {
return _barcodeManager.setParameters(params);
}