to_dict

to_dict#

Variant.to_dict()[source]#

Converts the variant to a dictionary.

Return type:

dict[str, Any]