resetRuntimeSettings method
Resets all parameters to default values.
The method will throw PlatformException if an error occurs when resetBarcodeSettings operation.
You can use resetRuntimeSettings like this:
late final DynamsoftBarcodeReader _barcodeReader;
_barcodeReader = await DynamsoftBarcodeReader.createInstance();
try {
await _barcodeReader.resetRuntimeSettings();
} catch (e) {
print('error = $e');
}
Implementation
Future<void> resetRuntimeSettings() {
return _barcodeReaderCaller.resetRuntimeSettings();
}