remove

fun <T> remove(key: Preferences.Key<T>): T(source)

Remove a preferences from this MutablePreferences.

Return

the original value of this preference key.

Parameters

key

the key to remove this MutablePreferences