copyWithWrapped method

WebApiModulesAgentPurchaseOrderKissFlowPoRejectRequest copyWithWrapped({
  1. Wrapped<String?>? purchaseOrderNumber,
  2. Wrapped<String?>? userEmail,
  3. Wrapped<String?>? rejectionReason,
  4. Wrapped<String?>? rejectionNote,
})

Implementation

WebApiModulesAgentPurchaseOrderKissFlowPoRejectRequest copyWithWrapped({
  Wrapped<String?>? purchaseOrderNumber,
  Wrapped<String?>? userEmail,
  Wrapped<String?>? rejectionReason,
  Wrapped<String?>? rejectionNote,
}) {
  return WebApiModulesAgentPurchaseOrderKissFlowPoRejectRequest(
    purchaseOrderNumber: (purchaseOrderNumber != null
        ? purchaseOrderNumber.value
        : this.purchaseOrderNumber),
    userEmail: (userEmail != null ? userEmail.value : this.userEmail),
    rejectionReason: (rejectionReason != null
        ? rejectionReason.value
        : this.rejectionReason),
    rejectionNote: (rejectionNote != null
        ? rejectionNote.value
        : this.rejectionNote),
  );
}