restore

open fun restore()

Restores @snapshot to the state saved by a preceding call to method@Snapshot.save and removes that state from the stack of saved states.