setPositiveAndNegativeBarcodesMode method
Future<CommandResponse>
setPositiveAndNegativeBarcodesMode({
- required dynamic deviceId,
- required PositiveAndNegativeBarcodesMode mode,
Sets the mode for reading positive and negative barcodes.
deviceId
- The identifier of the target device.
mode
- The mode to set for barcode reading, specified by PositiveAndNegativeBarcodesMode.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setPositiveAndNegativeBarcodesMode(
{required deviceId,
required PositiveAndNegativeBarcodesMode mode}) async {
return await sendCommand(
deviceId, _positiveAndNegativeBarcodesReadModeCommands[mode]!);
}