copyWithWrapped method
Implementation
GeneratorDetailResponseModel copyWithWrapped(
{Wrapped<int?>? parametercount,
Wrapped<List<ParameterResponseModel>?>? parameters,
Wrapped<int?>? activealertcount,
Wrapped<List<ActiveAlertResponseModel>?>? activealerts,
Wrapped<int?>? eventcount,
Wrapped<List<EventResponseModel>?>? events}) {
return GeneratorDetailResponseModel(
parametercount: (parametercount != null
? parametercount.value
: this.parametercount),
parameters: (parameters != null ? parameters.value : this.parameters),
activealertcount: (activealertcount != null
? activealertcount.value
: this.activealertcount),
activealerts:
(activealerts != null ? activealerts.value : this.activealerts),
eventcount: (eventcount != null ? eventcount.value : this.eventcount),
events: (events != null ? events.value : this.events));
}