setTransmitCD method
Sets the transmission of the check digit for EAN-8 symbology.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable (true
) or disable (false
) the transmission of the check digit.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setTransmitCD(
{required deviceId, required bool enabled}) async {
final String command = enabled ? ean8TransmitCd : ean8DoNotTransmitCd;
return sendCommand(deviceId, command);
}