copyWithWrapped method

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

Implementation

WebApiModulesUtilitiesOrderLocationScheduleOrderLocationScheduleRequest
    copyWithWrapped(
        {Wrapped<DateTime?>? fromDate,
        Wrapped<DateTime?>? toDate,
        Wrapped<String?>? officeLocationId,
        Wrapped<String?>? customerId,
        Wrapped<String?>? departmentId,
        Wrapped<String?>? dealId,
        Wrapped<String?>? projectId,
        Wrapped<String?>? projectManagerId,
        Wrapped<bool?>? includeCompleted}) {
  return WebApiModulesUtilitiesOrderLocationScheduleOrderLocationScheduleRequest(
      fromDate: (fromDate != null ? fromDate.value : this.fromDate),
      toDate: (toDate != null ? toDate.value : this.toDate),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      customerId: (customerId != null ? customerId.value : this.customerId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      dealId: (dealId != null ? dealId.value : this.dealId),
      projectId: (projectId != null ? projectId.value : this.projectId),
      projectManagerId: (projectManagerId != null
          ? projectManagerId.value
          : this.projectManagerId),
      includeCompleted: (includeCompleted != null
          ? includeCompleted.value
          : this.includeCompleted));
}