copyWith method

GetGeneratorEngineFrequencyValueResponseModel copyWith({
  1. double? minValue,
  2. double? maxValue,
  3. List<GetGeneratorHistoricalParameterValueResponseModel>? engineFrequency,
})

Implementation

GetGeneratorEngineFrequencyValueResponseModel copyWith(
    {double? minValue,
    double? maxValue,
    List<GetGeneratorHistoricalParameterValueResponseModel>?
        engineFrequency}) {
  return GetGeneratorEngineFrequencyValueResponseModel(
      minValue: minValue ?? this.minValue,
      maxValue: maxValue ?? this.maxValue,
      engineFrequency: engineFrequency ?? this.engineFrequency);
}