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