copyWithWrapped method

WebApiModulesAgentOrderModifyPoWorksheetSessionResponse copyWithWrapped({
  1. Wrapped<String?>? sessionId,
  2. Wrapped<String?>? vendorId,
  3. Wrapped<String?>? vendor,
  4. Wrapped<String?>? contactId,
  5. Wrapped<String?>? poTypeId,
  6. Wrapped<String?>? poType,
  7. Wrapped<String?>? contact,
  8. Wrapped<String?>? rateType,
  9. Wrapped<String?>? billingCycleId,
  10. Wrapped<String?>? billingCycle,
  11. Wrapped<DateTime?>? requiredDate,
  12. Wrapped<String?>? requiredTime,
  13. Wrapped<DateTime?>? fromDate,
  14. Wrapped<DateTime?>? toDate,
  15. Wrapped<String?>? deliveryId,
  16. Wrapped<bool?>? adjustContractDates,
  17. Wrapped<bool?>? isInternal,
  18. Wrapped<int?>? status,
  19. Wrapped<bool?>? success,
  20. Wrapped<String?>? msg,
})

Implementation

WebApiModulesAgentOrderModifyPoWorksheetSessionResponse copyWithWrapped({
  Wrapped<String?>? sessionId,
  Wrapped<String?>? vendorId,
  Wrapped<String?>? vendor,
  Wrapped<String?>? contactId,
  Wrapped<String?>? poTypeId,
  Wrapped<String?>? poType,
  Wrapped<String?>? contact,
  Wrapped<String?>? rateType,
  Wrapped<String?>? billingCycleId,
  Wrapped<String?>? billingCycle,
  Wrapped<DateTime?>? requiredDate,
  Wrapped<String?>? requiredTime,
  Wrapped<DateTime?>? fromDate,
  Wrapped<DateTime?>? toDate,
  Wrapped<String?>? deliveryId,
  Wrapped<bool?>? adjustContractDates,
  Wrapped<bool?>? isInternal,
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
}) {
  return WebApiModulesAgentOrderModifyPoWorksheetSessionResponse(
    sessionId: (sessionId != null ? sessionId.value : this.sessionId),
    vendorId: (vendorId != null ? vendorId.value : this.vendorId),
    vendor: (vendor != null ? vendor.value : this.vendor),
    contactId: (contactId != null ? contactId.value : this.contactId),
    poTypeId: (poTypeId != null ? poTypeId.value : this.poTypeId),
    poType: (poType != null ? poType.value : this.poType),
    contact: (contact != null ? contact.value : this.contact),
    rateType: (rateType != null ? rateType.value : this.rateType),
    billingCycleId: (billingCycleId != null
        ? billingCycleId.value
        : this.billingCycleId),
    billingCycle: (billingCycle != null
        ? billingCycle.value
        : this.billingCycle),
    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),
    isInternal: (isInternal != null ? isInternal.value : this.isInternal),
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
  );
}