copyWith method

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

Implementation

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