copyWith method

WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest copyWith({
  1. String? orderId,
  2. String? contractId,
  3. String? responsiblePersonId,
  4. String? expectedReturnDate,
  5. bool? enableExpectedReturnAlert,
})

Implementation

WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest copyWith({
  String? orderId,
  String? contractId,
  String? responsiblePersonId,
  String? expectedReturnDate,
  bool? enableExpectedReturnAlert,
}) {
  return WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest(
    orderId: orderId ?? this.orderId,
    contractId: contractId ?? this.contractId,
    responsiblePersonId: responsiblePersonId ?? this.responsiblePersonId,
    expectedReturnDate: expectedReturnDate ?? this.expectedReturnDate,
    enableExpectedReturnAlert:
        enableExpectedReturnAlert ?? this.enableExpectedReturnAlert,
  );
}