get_secret


Description:

public Value? get_secret ()

Get the secret value of this item.

If this item is locked or the secret has not yet been loaded then this will return null.

To load the secret call the [methodItem.load_secret] method.

Parameters:

this

an item

Returns:

the secret value which should be released with [methodValue.unref], or null