preferences property
SharedPreferences
get
preferences
Implementation
SharedPreferences get preferences {
if (_prefs == null) {
throw Exception(
"SharedPreferences not initialized. Call getInstance() first.");
}
return _prefs!;
}