copyWithWrapped method

WebApiModulesHomeControlsRepairPartRepairPart copyWithWrapped({
  1. Wrapped<String?>? repairPartId,
  2. Wrapped<String?>? repairId,
  3. Wrapped<String?>? inventoryId,
  4. Wrapped<String?>? warehouseId,
  5. Wrapped<String?>? warehouseCode,
  6. Wrapped<String?>? warehouse,
  7. Wrapped<String?>? iCode,
  8. Wrapped<String?>? iCodeColor,
  9. Wrapped<String?>? description,
  10. Wrapped<String?>? descriptionColor,
  11. Wrapped<double?>? quantity,
  12. Wrapped<String?>? unit,
  13. Wrapped<double?>? price,
  14. Wrapped<double?>? grossTotal,
  15. Wrapped<double?>? discountAmount,
  16. Wrapped<double?>? extended,
  17. Wrapped<bool?>? taxable,
  18. Wrapped<double?>? tax,
  19. Wrapped<double?>? total,
  20. Wrapped<bool?>? billable,
  21. Wrapped<String?>? itemClass,
  22. Wrapped<String?>? itemOrder,
  23. Wrapped<String?>? currencySymbol,
  24. Wrapped<String?>? orderId,
  25. Wrapped<String?>? orderItemId,
  26. Wrapped<String?>? orderNumber,
  27. Wrapped<String?>? dateStamp,
  28. Wrapped<String?>? auditNote,
  29. Wrapped<String?>? recordTitle,
  30. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  31. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  32. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  33. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsRepairPartRepairPart copyWithWrapped(
    {Wrapped<String?>? repairPartId,
    Wrapped<String?>? repairId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouseCode,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? iCode,
    Wrapped<String?>? iCodeColor,
    Wrapped<String?>? description,
    Wrapped<String?>? descriptionColor,
    Wrapped<double?>? quantity,
    Wrapped<String?>? unit,
    Wrapped<double?>? price,
    Wrapped<double?>? grossTotal,
    Wrapped<double?>? discountAmount,
    Wrapped<double?>? extended,
    Wrapped<bool?>? taxable,
    Wrapped<double?>? tax,
    Wrapped<double?>? total,
    Wrapped<bool?>? billable,
    Wrapped<String?>? itemClass,
    Wrapped<String?>? itemOrder,
    Wrapped<String?>? currencySymbol,
    Wrapped<String?>? orderId,
    Wrapped<String?>? orderItemId,
    Wrapped<String?>? orderNumber,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsRepairPartRepairPart(
      repairPartId:
          (repairPartId != null ? repairPartId.value : this.repairPartId),
      repairId: (repairId != null ? repairId.value : this.repairId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouseCode:
          (warehouseCode != null ? warehouseCode.value : this.warehouseCode),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      iCode: (iCode != null ? iCode.value : this.iCode),
      iCodeColor: (iCodeColor != null ? iCodeColor.value : this.iCodeColor),
      description:
          (description != null ? description.value : this.description),
      descriptionColor: (descriptionColor != null
          ? descriptionColor.value
          : this.descriptionColor),
      quantity: (quantity != null ? quantity.value : this.quantity),
      unit: (unit != null ? unit.value : this.unit),
      price: (price != null ? price.value : this.price),
      grossTotal: (grossTotal != null ? grossTotal.value : this.grossTotal),
      discountAmount: (discountAmount != null
          ? discountAmount.value
          : this.discountAmount),
      extended: (extended != null ? extended.value : this.extended),
      taxable: (taxable != null ? taxable.value : this.taxable),
      tax: (tax != null ? tax.value : this.tax),
      total: (total != null ? total.value : this.total),
      billable: (billable != null ? billable.value : this.billable),
      itemClass: (itemClass != null ? itemClass.value : this.itemClass),
      itemOrder: (itemOrder != null ? itemOrder.value : this.itemOrder),
      currencySymbol: (currencySymbol != null
          ? currencySymbol.value
          : this.currencySymbol),
      orderId: (orderId != null ? orderId.value : this.orderId),
      orderItemId:
          (orderItemId != null ? orderItemId.value : this.orderItemId),
      orderNumber:
          (orderNumber != null ? orderNumber.value : this.orderNumber),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}