toBundle
Converts a NavigationBundle to a Bundle
Return
The converted Bundle
fun <R : NavigationBundleSpecRow<*>> NavigationBundleSpec<R>.toBundle(mapper: (R) -> NavigationBundleValue<*>): NavigationBundle<R>
Creates a NavigationBundle from the NavigationBundleSpec
Return
A NavigationBundle matching this NavigationBundleSpec
Parameters
R
The type of NavigationBundleSpecRow associated with the NavigationBundleSpec.
mapper
Function mapping the NavigationBundleSpecRow in this spec to their respective NavigationBundleValue