copyWith method

WebApiModulesAgentOrderCrewWorkWeek copyWith({
  1. bool? monday,
  2. bool? tuesday,
  3. bool? wednesday,
  4. bool? thursday,
  5. bool? friday,
  6. bool? saturday,
  7. bool? sunday,
  8. double? hoursPerDay,
  9. double? crewHoursOT,
  10. double? crewHoursDT,
  11. 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,
  );
}