copyWithWrapped method

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

Implementation

GetGeneratorEngineFrequencyValueResponseModel copyWithWrapped(
    {Wrapped<double?>? minValue,
    Wrapped<double?>? maxValue,
    Wrapped<List<GetGeneratorHistoricalParameterValueResponseModel>?>?
        engineFrequency}) {
  return GetGeneratorEngineFrequencyValueResponseModel(
      minValue: (minValue != null ? minValue.value : this.minValue),
      maxValue: (maxValue != null ? maxValue.value : this.maxValue),
      engineFrequency: (engineFrequency != null
          ? engineFrequency.value
          : this.engineFrequency));
}