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