copyWithWrapped method

DeviceUpdateV3Body copyWithWrapped({
  1. Wrapped<String?>? displayName,
  2. Wrapped<AddressDTO?>? address,
  3. Wrapped<ConnectionTypeDTO?>? connectionType,
  4. Wrapped<String?>? installProgressType,
  5. Wrapped<String?>? installProgressStep,
})

Implementation

DeviceUpdateV3Body copyWithWrapped(
    {Wrapped<String?>? displayName,
    Wrapped<AddressDTO?>? address,
    Wrapped<enums.ConnectionTypeDTO?>? connectionType,
    Wrapped<String?>? installProgressType,
    Wrapped<String?>? installProgressStep}) {
  return DeviceUpdateV3Body(
      displayName:
          (displayName != null ? displayName.value : this.displayName),
      address: (address != null ? address.value : this.address),
      connectionType: (connectionType != null
          ? connectionType.value
          : this.connectionType),
      installProgressType: (installProgressType != null
          ? installProgressType.value
          : this.installProgressType),
      installProgressStep: (installProgressStep != null
          ? installProgressStep.value
          : this.installProgressStep));
}