copyWithWrapped method
ParameterResponseModel
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,
})
Implementation
ParameterResponseModel 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 ParameterResponseModel(
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));
}