copyWith method
GetParameterResponseModel
copyWith({ - int? deviceid,
- String? $value,
- String? displayname,
- String? displayvalue,
- int? parameterdefinitionid,
- int? pdiid,
- String? name,
- int? id,
- int? datecreated,
- String? datetimecreated,
- int? datemodified,
- String? datetimemodified,
- String? sectionName,
})
Implementation
GetParameterResponseModel copyWith(
{int? deviceid,
String? $value,
String? displayname,
String? displayvalue,
int? parameterdefinitionid,
int? pdiid,
String? name,
int? id,
int? datecreated,
String? datetimecreated,
int? datemodified,
String? datetimemodified,
String? sectionName}) {
return GetParameterResponseModel(
deviceid: deviceid ?? this.deviceid,
$value: $value ?? this.$value,
displayname: displayname ?? this.displayname,
displayvalue: displayvalue ?? this.displayvalue,
parameterdefinitionid:
parameterdefinitionid ?? this.parameterdefinitionid,
pdiid: pdiid ?? this.pdiid,
name: name ?? this.name,
id: id ?? this.id,
datecreated: datecreated ?? this.datecreated,
datetimecreated: datetimecreated ?? this.datetimecreated,
datemodified: datemodified ?? this.datemodified,
datetimemodified: datetimemodified ?? this.datetimemodified,
sectionName: sectionName ?? this.sectionName);
}