copyWith method
WebApiModulesAgentOrderCrewWorkWeek
copyWith(
{ - bool? monday,
- bool? tuesday,
- bool? wednesday,
- bool? thursday,
- bool? friday,
- bool? saturday,
- bool? sunday,
- double? hoursPerDay,
- double? crewHoursOT,
- double? crewHoursDT,
- String? orderId,
})
Implementation
WebApiModulesAgentOrderCrewWorkWeek copyWith({
bool? monday,
bool? tuesday,
bool? wednesday,
bool? thursday,
bool? friday,
bool? saturday,
bool? sunday,
double? hoursPerDay,
double? crewHoursOT,
double? crewHoursDT,
String? orderId,
}) {
return WebApiModulesAgentOrderCrewWorkWeek(
monday: monday ?? this.monday,
tuesday: tuesday ?? this.tuesday,
wednesday: wednesday ?? this.wednesday,
thursday: thursday ?? this.thursday,
friday: friday ?? this.friday,
saturday: saturday ?? this.saturday,
sunday: sunday ?? this.sunday,
hoursPerDay: hoursPerDay ?? this.hoursPerDay,
crewHoursOT: crewHoursOT ?? this.crewHoursOT,
crewHoursDT: crewHoursDT ?? this.crewHoursDT,
orderId: orderId ?? this.orderId,
);
}