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