[ CCode ( has_construct_function = false ) ]
public Dictionary.from_variant (Variant variant)
Converts the Variant to Dictionary.
This is useful for example if the dictionary needs to be deserialized, or if it's contained in another Dictionary and has been retrieved using @get.
variant |
instance of Variant |
Dictionary if successful, NULL otherwise. |