copyWithWrapped method

HomeownerDeviceAdditionV3Body copyWithWrapped({
  1. Wrapped<String?>? serialNumber,
  2. Wrapped<String?>? controllerPin,
  3. Wrapped<String?>? displayName,
  4. Wrapped<AddressDTO?>? address,
})

Implementation

HomeownerDeviceAdditionV3Body copyWithWrapped(
    {Wrapped<String?>? serialNumber,
    Wrapped<String?>? controllerPin,
    Wrapped<String?>? displayName,
    Wrapped<AddressDTO?>? address}) {
  return HomeownerDeviceAdditionV3Body(
      serialNumber:
          (serialNumber != null ? serialNumber.value : this.serialNumber),
      controllerPin:
          (controllerPin != null ? controllerPin.value : this.controllerPin),
      displayName:
          (displayName != null ? displayName.value : this.displayName),
      address: (address != null ? address.value : this.address));
}