copyWithWrapped method
Implementation
WebApiModulesInventoryRepairCancelRepairRequest copyWithWrapped({
Wrapped<String?>? repairId,
Wrapped<String?>? contractId,
Wrapped<String?>? orderId,
Wrapped<String?>? orderItemId,
Wrapped<String?>? inventoryId,
Wrapped<String?>? assetId,
Wrapped<String?>? consignorId,
Wrapped<String?>? consignorAgreementId,
Wrapped<int?>? quantity,
}) {
return WebApiModulesInventoryRepairCancelRepairRequest(
repairId: (repairId != null ? repairId.value : this.repairId),
contractId: (contractId != null ? contractId.value : this.contractId),
orderId: (orderId != null ? orderId.value : this.orderId),
orderItemId: (orderItemId != null ? orderItemId.value : this.orderItemId),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
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),
);
}