copyWith method

Implementation

WebApiModulesAgentOrderSummaryOrderSummaryResponse copyWith({
  WebApiModulesAgentOrderSummaryRecTypeSummary? rental,
  WebApiModulesAgentOrderSummaryRecTypeSummary? sales,
  WebApiModulesAgentOrderSummaryRecTypeSummary? parts,
  WebApiModulesAgentOrderSummaryRecTypeSummary? space,
  WebApiModulesAgentOrderSummaryRecTypeSummary? vehicle,
  WebApiModulesAgentOrderSummaryRecTypeSummary? labor,
  WebApiModulesAgentOrderSummaryRecTypeSummary? misc,
  WebApiModulesAgentOrderSummaryRecTypeSummary? rentalSale,
  WebApiModulesAgentOrderSummaryRecTypeSummary? lossAndDamage,
  WebApiModulesAgentOrderSummaryRecTypeSummary? subRent,
  WebApiModulesAgentOrderSummaryRecTypeSummary? subSale,
  WebApiModulesAgentOrderSummaryRecTypeSummary? subLabor,
  WebApiModulesAgentOrderSummaryRecTypeSummary? subMisc,
  WebApiModulesAgentOrderSummaryRecTypeSummary? 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 WebApiModulesAgentOrderSummaryOrderSummaryResponse(
    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,
    lossAndDamage: lossAndDamage ?? this.lossAndDamage,
    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,
  );
}