setParameters method
Applies runtime settings from a JSON-formatted string.
This method updates barcode recognition parameters based on the provided params
.
Returns 0
on success, or an error code on failure.
Implementation
Future<int> setParameters(String params) async {
await handleThenable(_barcodeReader!.initSettings(params));
return 0;
}