get

open override fun get(key: String): String?

Retrieves the value associated with the given key from SharedPreferences.

Return

The value associated with the key, or null if the key does not exist.

Parameters

key

The key used to retrieve the value.