consumeValue

open override fun consumeValue(key: String): Any?(source)

Returns the restored value for the given key. Once being restored the value is cleared, so you can't restore the same key twice.

Parameters

key

Key used to save the value