copyWithWrapped method

WebApiModulesHomeControlsRepairCostRepairCost copyWithWrapped({
  1. Wrapped<String?>? repairCostId,
  2. Wrapped<String?>? repairId,
  3. Wrapped<String?>? rateId,
  4. Wrapped<String?>? iCode,
  5. Wrapped<String?>? description,
  6. Wrapped<double?>? quantity,
  7. Wrapped<String?>? unit,
  8. Wrapped<double?>? rate,
  9. Wrapped<double?>? grossTotal,
  10. Wrapped<double?>? discountAmount,
  11. Wrapped<double?>? extended,
  12. Wrapped<bool?>? taxable,
  13. Wrapped<double?>? tax,
  14. Wrapped<double?>? total,
  15. Wrapped<bool?>? billable,
  16. Wrapped<String?>? note,
  17. Wrapped<String?>? currencySymbol,
  18. Wrapped<String?>? orderId,
  19. Wrapped<String?>? orderItemId,
  20. Wrapped<String?>? orderNumber,
  21. Wrapped<String?>? dateStamp,
  22. Wrapped<String?>? auditNote,
  23. Wrapped<String?>? recordTitle,
  24. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  25. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  26. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  27. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsRepairCostRepairCost copyWithWrapped(
    {Wrapped<String?>? repairCostId,
    Wrapped<String?>? repairId,
    Wrapped<String?>? rateId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? description,
    Wrapped<double?>? quantity,
    Wrapped<String?>? unit,
    Wrapped<double?>? rate,
    Wrapped<double?>? grossTotal,
    Wrapped<double?>? discountAmount,
    Wrapped<double?>? extended,
    Wrapped<bool?>? taxable,
    Wrapped<double?>? tax,
    Wrapped<double?>? total,
    Wrapped<bool?>? billable,
    Wrapped<String?>? note,
    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 WebApiModulesHomeControlsRepairCostRepairCost(
      repairCostId:
          (repairCostId != null ? repairCostId.value : this.repairCostId),
      repairId: (repairId != null ? repairId.value : this.repairId),
      rateId: (rateId != null ? rateId.value : this.rateId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      quantity: (quantity != null ? quantity.value : this.quantity),
      unit: (unit != null ? unit.value : this.unit),
      rate: (rate != null ? rate.value : this.rate),
      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),
      note: (note != null ? note.value : this.note),
      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));
}