I have an LWC component, let's say dummyComponent. Is there a way that i can get the name of this component from inside this component? Some like this:
this.getName();
The purpose behind this is that I'd like to make a custom metadata so administrators can set thresholds related to that component. The name of the metadata record would be the same as the name of the component. The component gets the threshold and analyses it against data from an api call. This component is in a flow and based on these thresholds(good or bad) one of the radio button choices will be set as default. The component in the flow is inserted dynamically so there can possible be any number of components available for insert. I hope this rambling summary helps to clarify why id like to know how to get the name.