copyWith method

WebApiModulesAgentOrderLaborTotalsResponse copyWith({
  1. WebApiModulesAgentOrderTotals? weeklyTotals,
  2. WebApiModulesAgentOrderTotals? averageWeeklyTotals,
  3. WebApiModulesAgentOrderTotals? monthlyTotals,
  4. WebApiModulesAgentOrderTotals? periodTotals,
  5. String? operatingRevenue,
  6. String? costExtended,
  7. String? grossProfit,
  8. String? marginPercent,
  9. String? operatingRevenuePercent,
})

Implementation

WebApiModulesAgentOrderLaborTotalsResponse copyWith({
  WebApiModulesAgentOrderTotals? weeklyTotals,
  WebApiModulesAgentOrderTotals? averageWeeklyTotals,
  WebApiModulesAgentOrderTotals? monthlyTotals,
  WebApiModulesAgentOrderTotals? periodTotals,
  String? operatingRevenue,
  String? costExtended,
  String? grossProfit,
  String? marginPercent,
  String? operatingRevenuePercent,
}) {
  return WebApiModulesAgentOrderLaborTotalsResponse(
    weeklyTotals: weeklyTotals ?? this.weeklyTotals,
    averageWeeklyTotals: averageWeeklyTotals ?? this.averageWeeklyTotals,
    monthlyTotals: monthlyTotals ?? this.monthlyTotals,
    periodTotals: periodTotals ?? this.periodTotals,
    operatingRevenue: operatingRevenue ?? this.operatingRevenue,
    costExtended: costExtended ?? this.costExtended,
    grossProfit: grossProfit ?? this.grossProfit,
    marginPercent: marginPercent ?? this.marginPercent,
    operatingRevenuePercent:
        operatingRevenuePercent ?? this.operatingRevenuePercent,
  );
}