toTypedPropertyOrNull

Converts a Bundle to a R property associated with a NavigationBundleSpecType Requires that the Bundle is described by a SingleValueNavigationSpec matching the NavigationBundleSpecType either directly or wrapped in NavigationBundleSpecType.OptionalType

Return

The R value stored in the bundle.


@JvmName(name = "toNullableTypedPropertyOrNull")
fun <R> Bundle.toTypedPropertyOrNull(type: NavigationBundleSpecType<R>): R?

Converts a Bundle to a R property associated with a NavigationBundleSpecType Requires that the Bundle is described by a SingleValueNavigationSpec matching the NavigationBundleSpecType.

Return

The R value stored in the bundle.