SavedStateHandleSaver

fun <T> SavedStateHandleSaver(handle: SavedStateHandle, key: String, recover: suspend (Exception) -> T? = ThrowRecover): <Error class: unknown class><T>

A Saver implementation that saves the specified value of T to a handle. The type of T must be saveable in a bundle, or the framework code will throw. If your state is Parcelable, use the ParcelableSaver instead.