setCheckCD method

Future<CommandResponse> setCheckCD({
  1. required dynamic deviceId,
  2. required IATACheckCDSettings setting,
})

Sets the check digit validation mode for IATA symbology.

deviceId - The identifier of the target device. setting - The IATACheckCDSettings enum value representing the desired setting.

Returns a CommandResponse indicating the success or failure of the operation.

Implementation

Future<CommandResponse> setCheckCD(
    {required deviceId, required IATACheckCDSettings setting}) async {
  return sendCommand(deviceId, _checkCDCommands[setting]!);
}