Clears the dirty state
Deletes a key from the state
The key to delete
Whether the key was deleted
Gets a value from the state
The key to get
The value or undefined if not present
Checks if the state has a key
The key to check
Whether the key exists
Checks if state has changed since last save
Whether the state has been modified
Sets a value in the state
The key to set
The value to set
Converts the state to a plain object
Static
fromCreates a state from a plain object
The object to load
Represents the state of a session