Hello,
I'm trying to create a dynamic Legend component object using a LegendInfoListModel from a separate component. I am able to access the roles found here when I use a ListView, but I also need to access these roles in other functions within the Legend component, but they just return undefined. I've tried using the forEach and get method(s) but can only access name and symbol from the LegendInfo type. Are these roles able to be used via other means? I've read this post but it only specifies for the case of symbol, and so I was looking for a broader explanation of use.
Thanks!