A persistence layer that allow to save and restore a state.
Create a new persistence layer.
) → Future< void>
- Clear the state from the storage.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → Future< State>
- Reads the state from storage.
) → String
A string representation of this object. [...]
State state) → Future< void>
- Write the state to the storage.