copyWithWrapped method
WebApiModulesWarehouseExchangeExchangeItemInResponse
copyWithWrapped({
- Wrapped<
String?> ? contractId, - Wrapped<
String?> ? inCode, - Wrapped<
int?> ? quantity, - Wrapped<
String?> ? orderId, - Wrapped<
String?> ? orderNumber, - Wrapped<
String?> ? orderDescription, - Wrapped<
String?> ? dealId, - Wrapped<
String?> ? deal, - Wrapped<
String?> ? departmentId, - Wrapped<
WebApiModulesWarehouseExchangeExchangeItemStatus?> ? itemStatus, - Wrapped<
int?> ? status, - Wrapped<
bool?> ? success, - Wrapped<
String?> ? msg,
Implementation
WebApiModulesWarehouseExchangeExchangeItemInResponse copyWithWrapped({
Wrapped<String?>? contractId,
Wrapped<String?>? inCode,
Wrapped<int?>? quantity,
Wrapped<String?>? orderId,
Wrapped<String?>? orderNumber,
Wrapped<String?>? orderDescription,
Wrapped<String?>? dealId,
Wrapped<String?>? deal,
Wrapped<String?>? departmentId,
Wrapped<WebApiModulesWarehouseExchangeExchangeItemStatus?>? itemStatus,
Wrapped<int?>? status,
Wrapped<bool?>? success,
Wrapped<String?>? msg,
}) {
return WebApiModulesWarehouseExchangeExchangeItemInResponse(
contractId: (contractId != null ? contractId.value : this.contractId),
inCode: (inCode != null ? inCode.value : this.inCode),
quantity: (quantity != null ? quantity.value : this.quantity),
orderId: (orderId != null ? orderId.value : this.orderId),
orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
orderDescription: (orderDescription != null
? orderDescription.value
: this.orderDescription),
dealId: (dealId != null ? dealId.value : this.dealId),
deal: (deal != null ? deal.value : this.deal),
departmentId: (departmentId != null
? departmentId.value
: this.departmentId),
itemStatus: (itemStatus != null ? itemStatus.value : this.itemStatus),
status: (status != null ? status.value : this.status),
success: (success != null ? success.value : this.success),
msg: (msg != null ? msg.value : this.msg),
);
}