experimental/persist library

Classes

PersistedData<T>
A state representation of how the data is persisted.
Storage<KeyT extends Object?, EncodedT extends Object?>
An interface to enable Riverpod to interact with a database.
StorageCacheTime
A cache time that will be used to determine when the data should be deleted.
StorageOptions
Options to enable a Storage to persist state.

Extensions

NotifierPersistX on AnyNotifier<StateT, ValueT>
Adds persist method to AnyNotifier.