copyWith method

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

Implementation

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