deserialize

abstract fun deserialize(serialized: String?): T

Deserialize to an instance of T. The input is retrieved from SharedPreferences.getString.