copyWithWrapped method

WebApiModulesHomeServiceOrderItemServiceOrderItem copyWithWrapped({
  1. Wrapped<String?>? serviceOrderItemId,
  2. Wrapped<String?>? repairId,
  3. Wrapped<String?>? repairNumber,
  4. Wrapped<String?>? barCode,
  5. Wrapped<String?>? serialNumber,
  6. Wrapped<String?>? repairICode,
  7. Wrapped<String?>? trackedBy,
  8. Wrapped<String?>? repairDescription,
  9. Wrapped<double?>? quantity,
  10. Wrapped<double?>? rate,
  11. Wrapped<double?>? extended,
  12. Wrapped<String?>? repairInventoryId,
  13. Wrapped<String?>? warehouseId,
  14. Wrapped<String?>? warehouseCode,
  15. Wrapped<String?>? warehouse,
  16. Wrapped<String?>? repairCostId,
  17. Wrapped<String?>? repairPartId,
  18. Wrapped<String?>? itemOrder,
  19. Wrapped<String?>? notes,
  20. Wrapped<String?>? recType,
  21. Wrapped<String?>? recTypeDisplay,
  22. Wrapped<String?>? consignorId,
  23. Wrapped<String?>? consignorAgreementId,
  24. Wrapped<String?>? inventoryId,
  25. Wrapped<String?>? iCode,
  26. Wrapped<String?>? description,
  27. Wrapped<String?>? auditNote,
  28. Wrapped<String?>? recordTitle,
  29. Wrapped? urlIdentifier,
  30. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  31. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  32. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  33. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  34. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  35. Wrapped<bool?>? hasImport,
  36. Wrapped<bool?>? hasDocuments,
  37. Wrapped<String?>? createdByUserId,
  38. Wrapped<String?>? createdByUserName,
  39. Wrapped<String?>? createdDateTime,
  40. Wrapped<String?>? modifiedByUserId,
  41. Wrapped<String?>? modifiedByUserName,
  42. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesHomeServiceOrderItemServiceOrderItem copyWithWrapped({
  Wrapped<String?>? serviceOrderItemId,
  Wrapped<String?>? repairId,
  Wrapped<String?>? repairNumber,
  Wrapped<String?>? barCode,
  Wrapped<String?>? serialNumber,
  Wrapped<String?>? repairICode,
  Wrapped<String?>? trackedBy,
  Wrapped<String?>? repairDescription,
  Wrapped<double?>? quantity,
  Wrapped<double?>? rate,
  Wrapped<double?>? extended,
  Wrapped<String?>? repairInventoryId,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? warehouseCode,
  Wrapped<String?>? warehouse,
  Wrapped<String?>? repairCostId,
  Wrapped<String?>? repairPartId,
  Wrapped<String?>? itemOrder,
  Wrapped<String?>? notes,
  Wrapped<String?>? recType,
  Wrapped<String?>? recTypeDisplay,
  Wrapped<String?>? consignorId,
  Wrapped<String?>? consignorAgreementId,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? iCode,
  Wrapped<String?>? description,
  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 WebApiModulesHomeServiceOrderItemServiceOrderItem(
    serviceOrderItemId: (serviceOrderItemId != null
        ? serviceOrderItemId.value
        : this.serviceOrderItemId),
    repairId: (repairId != null ? repairId.value : this.repairId),
    repairNumber: (repairNumber != null
        ? repairNumber.value
        : this.repairNumber),
    barCode: (barCode != null ? barCode.value : this.barCode),
    serialNumber: (serialNumber != null
        ? serialNumber.value
        : this.serialNumber),
    repairICode: (repairICode != null ? repairICode.value : this.repairICode),
    trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
    repairDescription: (repairDescription != null
        ? repairDescription.value
        : this.repairDescription),
    quantity: (quantity != null ? quantity.value : this.quantity),
    rate: (rate != null ? rate.value : this.rate),
    extended: (extended != null ? extended.value : this.extended),
    repairInventoryId: (repairInventoryId != null
        ? repairInventoryId.value
        : this.repairInventoryId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    warehouseCode: (warehouseCode != null
        ? warehouseCode.value
        : this.warehouseCode),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
    repairCostId: (repairCostId != null
        ? repairCostId.value
        : this.repairCostId),
    repairPartId: (repairPartId != null
        ? repairPartId.value
        : this.repairPartId),
    itemOrder: (itemOrder != null ? itemOrder.value : this.itemOrder),
    notes: (notes != null ? notes.value : this.notes),
    recType: (recType != null ? recType.value : this.recType),
    recTypeDisplay: (recTypeDisplay != null
        ? recTypeDisplay.value
        : this.recTypeDisplay),
    consignorId: (consignorId != null ? consignorId.value : this.consignorId),
    consignorAgreementId: (consignorAgreementId != null
        ? consignorAgreementId.value
        : this.consignorAgreementId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    iCode: (iCode != null ? iCode.value : this.iCode),
    description: (description != null ? description.value : this.description),
    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),
  );
}