newBundle

inline fun newBundle(block: Bundle.() -> Unit): Bundle

Calls specified block, passing in a Bundle instance, which is returned when the block completes.