copyWith method

WebApiModulesUtilitiesOrderLocationScheduleOrderLocationScheduleRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? officeLocationId,
  4. String? customerId,
  5. String? departmentId,
  6. String? dealId,
  7. String? projectId,
  8. String? projectManagerId,
  9. bool? includeCompleted,
})

Implementation

WebApiModulesUtilitiesOrderLocationScheduleOrderLocationScheduleRequest
    copyWith(
        {DateTime? fromDate,
        DateTime? toDate,
        String? officeLocationId,
        String? customerId,
        String? departmentId,
        String? dealId,
        String? projectId,
        String? projectManagerId,
        bool? includeCompleted}) {
  return WebApiModulesUtilitiesOrderLocationScheduleOrderLocationScheduleRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      customerId: customerId ?? this.customerId,
      departmentId: departmentId ?? this.departmentId,
      dealId: dealId ?? this.dealId,
      projectId: projectId ?? this.projectId,
      projectManagerId: projectManagerId ?? this.projectManagerId,
      includeCompleted: includeCompleted ?? this.includeCompleted);
}