initCache method
Initializes the cache by reading the current value from SharedPreferences.
Call this method to ensure the cache is populated before accessing cachedValue.
Implementation
Future<void> initCache(SharedPreferencesAsync prefs) async {
_cachedValue = await super.getValue(prefs);
}