A memento represents a storage utility. It can store and retrieve values.
Return a value.
A string.
The stored value or undefined.
undefined
A value that should be returned when there is no value (undefined) with the given key.
The stored value or the defaultValue.
Returns the stored keys.
The stored keys.
eslint-disable-next-line @typescript-eslint/no-explicit-any
A memento represents a storage utility. It can store and retrieve values.