consumeValue
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
Returns the restored value for the given key. Once being restored the value is cleared, so you can't restore the same key twice.
Key used to save the value