setDatamatrixDpmModeEnabled method
- bool enabled
Sets whether the Direct Part Marking (DPM) mode for Datamatrix barcodes is enabled.
Implementation
Future<void> setDatamatrixDpmModeEnabled(bool enabled) {
if (_isBarkoderViewNotMounted) {
return Future.error(PlatformException(
code: BarkoderErrors.barkoderViewNotMounted,
message: BarkoderErrors.barkodeViewNotMountedDesc));
}
return _methodChannel.invokeMethod('setDatamatrixDpmModeEnabled', enabled);
}