Is there an easy way to convert a Map to a Bundle in android without explicit iteration?
Why?
Firebase returns a Map for Notification
here is how I did it in Kotlin
val bundle = Bundle() for (entry in data.entries) bundle.putString(entry.key, entry.value)