copyWith method

Implementation

WebApiModulesHomeControlsOrderSummaryOrderSummaryResponse copyWith(
    {WebApiModulesHomeControlsOrderSummaryRecTypeSummary? rental,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? sales,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? parts,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? space,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? vehicle,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? labor,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? misc,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? rentalSale,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? subRent,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? subSale,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? subLabor,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? subMisc,
    WebApiModulesHomeControlsOrderSummaryRecTypeSummary? total,
    double? totalTax1,
    double? totalTax2,
    double? taxCost,
    double? replacementCost,
    double? replacementCostOwned,
    double? replacementCostSub,
    double? value,
    double? valueOwned,
    double? valueSub,
    String? measurement,
    double? weightPounds,
    double? weightOunces,
    double? weightKilograms,
    double? weightGrams,
    double? weightInCasePounds,
    double? weightInCaseOunces,
    double? weightInCaseKilograms,
    double? weightInCaseGrams}) {
  return WebApiModulesHomeControlsOrderSummaryOrderSummaryResponse(
      rental: rental ?? this.rental,
      sales: sales ?? this.sales,
      parts: parts ?? this.parts,
      space: space ?? this.space,
      vehicle: vehicle ?? this.vehicle,
      labor: labor ?? this.labor,
      misc: misc ?? this.misc,
      rentalSale: rentalSale ?? this.rentalSale,
      subRent: subRent ?? this.subRent,
      subSale: subSale ?? this.subSale,
      subLabor: subLabor ?? this.subLabor,
      subMisc: subMisc ?? this.subMisc,
      total: total ?? this.total,
      totalTax1: totalTax1 ?? this.totalTax1,
      totalTax2: totalTax2 ?? this.totalTax2,
      taxCost: taxCost ?? this.taxCost,
      replacementCost: replacementCost ?? this.replacementCost,
      replacementCostOwned: replacementCostOwned ?? this.replacementCostOwned,
      replacementCostSub: replacementCostSub ?? this.replacementCostSub,
      value: value ?? this.value,
      valueOwned: valueOwned ?? this.valueOwned,
      valueSub: valueSub ?? this.valueSub,
      measurement: measurement ?? this.measurement,
      weightPounds: weightPounds ?? this.weightPounds,
      weightOunces: weightOunces ?? this.weightOunces,
      weightKilograms: weightKilograms ?? this.weightKilograms,
      weightGrams: weightGrams ?? this.weightGrams,
      weightInCasePounds: weightInCasePounds ?? this.weightInCasePounds,
      weightInCaseOunces: weightInCaseOunces ?? this.weightInCaseOunces,
      weightInCaseKilograms:
          weightInCaseKilograms ?? this.weightInCaseKilograms,
      weightInCaseGrams: weightInCaseGrams ?? this.weightInCaseGrams);
}