copyWith method

WebApiModulesAgentPurchaseOrderKissFlowPoRejectRequest copyWith({
  1. String? purchaseOrderNumber,
  2. String? userEmail,
  3. String? rejectionReason,
  4. String? rejectionNote,
})

Implementation

WebApiModulesAgentPurchaseOrderKissFlowPoRejectRequest copyWith({
  String? purchaseOrderNumber,
  String? userEmail,
  String? rejectionReason,
  String? rejectionNote,
}) {
  return WebApiModulesAgentPurchaseOrderKissFlowPoRejectRequest(
    purchaseOrderNumber: purchaseOrderNumber ?? this.purchaseOrderNumber,
    userEmail: userEmail ?? this.userEmail,
    rejectionReason: rejectionReason ?? this.rejectionReason,
    rejectionNote: rejectionNote ?? this.rejectionNote,
  );
}