copyWithWrapped method
Implementation
WebApiModulesInventoryRepairCreateRepairRequest copyWithWrapped({
Wrapped<String?>? contractId,
Wrapped<String?>? orderId,
Wrapped<String?>? orderItemId,
Wrapped<String?>? assetId,
Wrapped<String?>? consignorId,
Wrapped<String?>? consignorAgreementId,
Wrapped<int?>? quantity,
Wrapped<String?>? officeLocationId,
Wrapped<String?>? warehouseId,
}) {
return WebApiModulesInventoryRepairCreateRepairRequest(
contractId: (contractId != null ? contractId.value : this.contractId),
orderId: (orderId != null ? orderId.value : this.orderId),
orderItemId: (orderItemId != null ? orderItemId.value : this.orderItemId),
assetId: (assetId != null ? assetId.value : this.assetId),
consignorId: (consignorId != null ? consignorId.value : this.consignorId),
consignorAgreementId: (consignorAgreementId != null
? consignorAgreementId.value
: this.consignorAgreementId),
quantity: (quantity != null ? quantity.value : this.quantity),
officeLocationId: (officeLocationId != null
? officeLocationId.value
: this.officeLocationId),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
);
}