restore

open fun restore()(source)

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