Is there an easy way to convert a Map to a Bundle in android without explicit iteration?
Why?
Firebase returns a Map for Notification
Neat Kotlin solution using spread operator will look like that:
fun Map.toBundle(): Bundle = bundleOf(*this.toList().toTypedArray())