getResultAndRemember

fun <T> NavHostController.getResultAndRemember(key: String, defaultValue: T? = null): T?