I was trying to use getModelFromWrappedRequest of org.apache.sling.models.factory.ModalFactory class of Sling API. From the sling documentations, it looks like this method was introduced in Sling 10 API. I tried adding latest dependencies related Sling API. But it didn't resolved.
org.apache.sling.models.api version is 1.3.6 in my POM file.
Please let me know what other dependencies/artifacts I need to include in my POM file so that I can use getModelFromWrappedRequest method.