copyWithWrapped method

DeviceMigrationRequestV3Body copyWithWrapped({
  1. Wrapped<DeviceHostDTO?>? deviceHost,
  2. Wrapped<bool?>? isDryRun,
  3. Wrapped<String?>? serialNumber,
  4. Wrapped<String?>? businessPartnerNo,
  5. Wrapped<String?>? homeownerEmail,
})

Implementation

DeviceMigrationRequestV3Body copyWithWrapped(
    {Wrapped<enums.DeviceHostDTO?>? deviceHost,
    Wrapped<bool?>? isDryRun,
    Wrapped<String?>? serialNumber,
    Wrapped<String?>? businessPartnerNo,
    Wrapped<String?>? homeownerEmail}) {
  return DeviceMigrationRequestV3Body(
      deviceHost: (deviceHost != null ? deviceHost.value : this.deviceHost),
      isDryRun: (isDryRun != null ? isDryRun.value : this.isDryRun),
      serialNumber:
          (serialNumber != null ? serialNumber.value : this.serialNumber),
      businessPartnerNo: (businessPartnerNo != null
          ? businessPartnerNo.value
          : this.businessPartnerNo),
      homeownerEmail: (homeownerEmail != null
          ? homeownerEmail.value
          : this.homeownerEmail));
}