getOrThrow
Returns an existing ViewModel or throws an exception when no matching view model can be restored.
Parameters
owner
The ViewModelStoreOwner owning the store.
key
Unique identifier for this ViewModel.
Returns an existing ViewModel or throws an exception when no matching view model can be restored.
The ViewModelStoreOwner owning the store.
Unique identifier for this ViewModel.