copyWithWrapped method

GetParameterResponseModel copyWithWrapped({
  1. Wrapped<int?>? deviceid,
  2. Wrapped<String?>? $value,
  3. Wrapped<String?>? displayname,
  4. Wrapped<String?>? displayvalue,
  5. Wrapped<int?>? parameterdefinitionid,
  6. Wrapped<int?>? pdiid,
  7. Wrapped<String?>? name,
  8. Wrapped<int?>? id,
  9. Wrapped<int?>? datecreated,
  10. Wrapped<String?>? datetimecreated,
  11. Wrapped<int?>? datemodified,
  12. Wrapped<String?>? datetimemodified,
  13. Wrapped<String?>? sectionName,
})

Implementation

GetParameterResponseModel copyWithWrapped(
    {Wrapped<int?>? deviceid,
    Wrapped<String?>? $value,
    Wrapped<String?>? displayname,
    Wrapped<String?>? displayvalue,
    Wrapped<int?>? parameterdefinitionid,
    Wrapped<int?>? pdiid,
    Wrapped<String?>? name,
    Wrapped<int?>? id,
    Wrapped<int?>? datecreated,
    Wrapped<String?>? datetimecreated,
    Wrapped<int?>? datemodified,
    Wrapped<String?>? datetimemodified,
    Wrapped<String?>? sectionName}) {
  return GetParameterResponseModel(
      deviceid: (deviceid != null ? deviceid.value : this.deviceid),
      $value: ($value != null ? $value.value : this.$value),
      displayname:
          (displayname != null ? displayname.value : this.displayname),
      displayvalue:
          (displayvalue != null ? displayvalue.value : this.displayvalue),
      parameterdefinitionid: (parameterdefinitionid != null
          ? parameterdefinitionid.value
          : this.parameterdefinitionid),
      pdiid: (pdiid != null ? pdiid.value : this.pdiid),
      name: (name != null ? name.value : this.name),
      id: (id != null ? id.value : this.id),
      datecreated:
          (datecreated != null ? datecreated.value : this.datecreated),
      datetimecreated: (datetimecreated != null
          ? datetimecreated.value
          : this.datetimecreated),
      datemodified:
          (datemodified != null ? datemodified.value : this.datemodified),
      datetimemodified: (datetimemodified != null
          ? datetimemodified.value
          : this.datetimemodified),
      sectionName:
          (sectionName != null ? sectionName.value : this.sectionName));
}