How to access variable metadata in a custom widget?

How to access variable metadata in a custom widget?

Hi,

is there a way to resolve each variable's metadata when the data in injected in a custom widget? The object currently has the following keys : 'id', 'time', 'value', 'variable', 'group', 'device', 'origin', 'serie'

Thanks