copyWithWrapped method

WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest copyWithWrapped({
  1. Wrapped<String?>? recType,
  2. Wrapped<String?>? vendorId,
  3. Wrapped<String?>? contactId,
  4. Wrapped<String?>? rateType,
  5. Wrapped<String?>? currencyId,
  6. Wrapped<String?>? billingCycleId,
  7. Wrapped<DateTime?>? requiredDate,
  8. Wrapped<String?>? requiredTime,
  9. Wrapped<DateTime?>? fromDate,
  10. Wrapped<DateTime?>? toDate,
  11. Wrapped<String?>? deliveryId,
  12. Wrapped<bool?>? adjustContractDates,
})

Implementation

WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest copyWithWrapped(
    {Wrapped<String?>? recType,
    Wrapped<String?>? vendorId,
    Wrapped<String?>? contactId,
    Wrapped<String?>? rateType,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? billingCycleId,
    Wrapped<DateTime?>? requiredDate,
    Wrapped<String?>? requiredTime,
    Wrapped<DateTime?>? fromDate,
    Wrapped<DateTime?>? toDate,
    Wrapped<String?>? deliveryId,
    Wrapped<bool?>? adjustContractDates}) {
  return WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest(
      recType: (recType != null ? recType.value : this.recType),
      vendorId: (vendorId != null ? vendorId.value : this.vendorId),
      contactId: (contactId != null ? contactId.value : this.contactId),
      rateType: (rateType != null ? rateType.value : this.rateType),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      billingCycleId: (billingCycleId != null
          ? billingCycleId.value
          : this.billingCycleId),
      requiredDate:
          (requiredDate != null ? requiredDate.value : this.requiredDate),
      requiredTime:
          (requiredTime != null ? requiredTime.value : this.requiredTime),
      fromDate: (fromDate != null ? fromDate.value : this.fromDate),
      toDate: (toDate != null ? toDate.value : this.toDate),
      deliveryId: (deliveryId != null ? deliveryId.value : this.deliveryId),
      adjustContractDates: (adjustContractDates != null
          ? adjustContractDates.value
          : this.adjustContractDates));
}