Well, in this specific intialization scenario I wo...
# announcements
o
Well, in this specific intialization scenario I would just use let with elvis
Copy code
var user: User = prefs.getString(USER, null)?.let { jsonAdapter.fromJson(it) } ?: User()