copyWith method
WebApiModulesAgentOrderLaborTotalsResponse
copyWith({
- WebApiModulesAgentOrderTotals? weeklyTotals,
- WebApiModulesAgentOrderTotals? averageWeeklyTotals,
- WebApiModulesAgentOrderTotals? monthlyTotals,
- WebApiModulesAgentOrderTotals? periodTotals,
- String? operatingRevenue,
- String? costExtended,
- String? grossProfit,
- String? marginPercent,
- 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,
);
}