copyWith method
Implementation
GeneratorDetailResponseModel copyWith(
{int? parametercount,
List<ParameterResponseModel>? parameters,
int? activealertcount,
List<ActiveAlertResponseModel>? activealerts,
int? eventcount,
List<EventResponseModel>? events}) {
return GeneratorDetailResponseModel(
parametercount: parametercount ?? this.parametercount,
parameters: parameters ?? this.parameters,
activealertcount: activealertcount ?? this.activealertcount,
activealerts: activealerts ?? this.activealerts,
eventcount: eventcount ?? this.eventcount,
events: events ?? this.events);
}