asMap

open override fun asMap(): Map<Preferences.Key<*>, Any>(source)

Retrieve a map of all key preference pairs. The returned map is unmodifiable, and attempts to mutate it will throw runtime exceptions.

Return

a map containing all the preferences in this Preferences