toNavigationBundle
fun <Row : NavigationBundleSpecRow<*>> Bundle.toNavigationBundle(spec: NavigationBundleSpec<Row>): NavigationBundle<Row>
Converts a Bundle to a NavigationBundle matching a given NavigationBundleSpec
Parameters
spec
The NavigationBundleSpec used to create the NavigationBundle
Throws
if the Bundle does not contain the correct keys or values associated with the NavigationBundleSpec