copyWithWrapped method
Implementation
ModbusTcpConnectionDTO copyWithWrapped(
{Wrapped<String?>? name,
Wrapped<String?>? tcpAddress,
Wrapped<int?>? port,
Wrapped<int?>? unitId,
Wrapped<String?>? propertySpec}) {
return ModbusTcpConnectionDTO(
name: (name != null ? name.value : this.name),
tcpAddress: (tcpAddress != null ? tcpAddress.value : this.tcpAddress),
port: (port != null ? port.value : this.port),
unitId: (unitId != null ? unitId.value : this.unitId),
propertySpec:
(propertySpec != null ? propertySpec.value : this.propertySpec));
}