How to get a package's path dynamically?


I’m trying to figure out how to dynamically get the path name of the package I’m developing, to link local assets. Is there a method for this in the API that I am missing?


nvm, I realized it can be easily achieved via: