source = DestinationsStringNavType.safeGet(bundle, "source") ?: throw RuntimeException("'source' argument is not mandatory and not nullable but was not present!"),
source = DestinationsStringNavType.safeGet(bundle, "source") ?: throw RuntimeException("'source' argument is mandatory, but was not present!"),
override fun argsFrom(savedStateHandle: SavedStateHandle): NavArgs {
override fun argsFrom(savedStateHandle: SavedStateHandle): NavArgs {
return NavArgs(
return NavArgs(
source = DestinationsStringNavType.get(savedStateHandle, "source") ?: throw RuntimeException("'source' argument is not mandatory and not nullable but was not present!"),
source = DestinationsStringNavType.get(savedStateHandle, "source") ?: throw RuntimeException("'source' argument is mandatory, but was not present!"),