copyWithWrapped method

WebApiModulesInventoryRepairCostRepairCost 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? urlIdentifier,
  25. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  26. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  27. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  28. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  29. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  30. Wrapped<bool?>? hasImport,
  31. Wrapped<bool?>? hasDocuments,
  32. Wrapped<String?>? createdByUserId,
  33. Wrapped<String?>? createdByUserName,
  34. Wrapped<String?>? createdDateTime,
  35. Wrapped<String?>? modifiedByUserId,
  36. Wrapped<String?>? modifiedByUserName,
  37. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesInventoryRepairCostRepairCost 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<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesInventoryRepairCostRepairCost(
    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),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}