saveState

inline fun <S : MVIState, I : MVIIntent, A : MVIAction> StoreBuilder<S, I, A>.saveState(name: String = DefaultSavedStatePluginName, context: CoroutineContext = EmptyCoroutineContext, crossinline get: suspend S.() -> S?, crossinline set: suspend S.() -> Unit)

Deprecated

If you want to save state, use the new `savedstate` module dependency

Creates and installs a new savedStatePlugin.