copyWithWrapped method
WebApiModulesAgentOrderLaborTotalsResponse
copyWithWrapped({
- Wrapped<
WebApiModulesAgentOrderTotals?> ? weeklyTotals, - Wrapped<
WebApiModulesAgentOrderTotals?> ? averageWeeklyTotals, - Wrapped<
WebApiModulesAgentOrderTotals?> ? monthlyTotals, - Wrapped<
WebApiModulesAgentOrderTotals?> ? periodTotals, - Wrapped<
String?> ? operatingRevenue, - Wrapped<
String?> ? costExtended, - Wrapped<
String?> ? grossProfit, - Wrapped<
String?> ? marginPercent, - Wrapped<
String?> ? operatingRevenuePercent,
Implementation
WebApiModulesAgentOrderLaborTotalsResponse copyWithWrapped({
Wrapped<WebApiModulesAgentOrderTotals?>? weeklyTotals,
Wrapped<WebApiModulesAgentOrderTotals?>? averageWeeklyTotals,
Wrapped<WebApiModulesAgentOrderTotals?>? monthlyTotals,
Wrapped<WebApiModulesAgentOrderTotals?>? periodTotals,
Wrapped<String?>? operatingRevenue,
Wrapped<String?>? costExtended,
Wrapped<String?>? grossProfit,
Wrapped<String?>? marginPercent,
Wrapped<String?>? operatingRevenuePercent,
}) {
return WebApiModulesAgentOrderLaborTotalsResponse(
weeklyTotals: (weeklyTotals != null
? weeklyTotals.value
: this.weeklyTotals),
averageWeeklyTotals: (averageWeeklyTotals != null
? averageWeeklyTotals.value
: this.averageWeeklyTotals),
monthlyTotals: (monthlyTotals != null
? monthlyTotals.value
: this.monthlyTotals),
periodTotals: (periodTotals != null
? periodTotals.value
: this.periodTotals),
operatingRevenue: (operatingRevenue != null
? operatingRevenue.value
: this.operatingRevenue),
costExtended: (costExtended != null
? costExtended.value
: this.costExtended),
grossProfit: (grossProfit != null ? grossProfit.value : this.grossProfit),
marginPercent: (marginPercent != null
? marginPercent.value
: this.marginPercent),
operatingRevenuePercent: (operatingRevenuePercent != null
? operatingRevenuePercent.value
: this.operatingRevenuePercent),
);
}