copyWithWrapped method

WebApiModulesInventoryRepairCreateRepairRequest copyWithWrapped({
  1. Wrapped<String?>? contractId,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? orderItemId,
  4. Wrapped<String?>? assetId,
  5. Wrapped<String?>? consignorId,
  6. Wrapped<String?>? consignorAgreementId,
  7. Wrapped<int?>? quantity,
})

Implementation

WebApiModulesInventoryRepairCreateRepairRequest copyWithWrapped(
    {Wrapped<String?>? contractId,
    Wrapped<String?>? orderId,
    Wrapped<String?>? orderItemId,
    Wrapped<String?>? assetId,
    Wrapped<String?>? consignorId,
    Wrapped<String?>? consignorAgreementId,
    Wrapped<int?>? quantity}) {
  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));
}