copyWithWrapped method

WebApiModulesInventoryRepairPartRepairPart 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? urlIdentifier,
  31. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  32. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  33. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  34. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  35. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  36. Wrapped<bool?>? hasImport,
  37. Wrapped<bool?>? hasDocuments,
  38. Wrapped<String?>? createdByUserId,
  39. Wrapped<String?>? createdByUserName,
  40. Wrapped<String?>? createdDateTime,
  41. Wrapped<String?>? modifiedByUserId,
  42. Wrapped<String?>? modifiedByUserName,
  43. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesInventoryRepairPartRepairPart 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<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 WebApiModulesInventoryRepairPartRepairPart(
    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),
    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),
  );
}