copyWithWrapped method
Implementation
HistoricalParameterValuesResponseModel copyWithWrapped(
{Wrapped<BatteryVoltageValueResponseModel?>? batteryvoltage,
Wrapped<EngineCoolantTemperatureValueResponseModel?>?
enginecoolanttemperature,
Wrapped<EngineFrequencyValueResponseModel?>? enginefrequency,
Wrapped<LubeOilTemperatureValueResponseModel?>? lubeoiltemperature,
Wrapped<EngineOilPressureValueResponseModel?>? engineoilpressure,
Wrapped<EngineSpeedValueResponseModel?>? engineSpeed}) {
return HistoricalParameterValuesResponseModel(
batteryvoltage: (batteryvoltage != null
? batteryvoltage.value
: this.batteryvoltage),
enginecoolanttemperature: (enginecoolanttemperature != null
? enginecoolanttemperature.value
: this.enginecoolanttemperature),
enginefrequency: (enginefrequency != null
? enginefrequency.value
: this.enginefrequency),
lubeoiltemperature: (lubeoiltemperature != null
? lubeoiltemperature.value
: this.lubeoiltemperature),
engineoilpressure: (engineoilpressure != null
? engineoilpressure.value
: this.engineoilpressure),
engineSpeed:
(engineSpeed != null ? engineSpeed.value : this.engineSpeed));
}