copyWithWrapped method

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

Implementation

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