Saver
A Saver is an object that specifies how to save the state of the saveStatePlugin. See docs for specific functions to learn how to override them.
Functions
Link copied to clipboard
restore function should restore the state from the storage. It could be a file, a bundle on Android, or some other place. State is restored before the store starts, so it is not advised to suspend in this function for very long periods of time. If this function returns null
, the state will not be restored (there is nothing to restore).
Link copied to clipboard