removeValue method

  1. @override
Future<void> removeValue(
  1. SharedPreferencesAsync prefs
)
override

Removes the value from SharedPreferences and clears the cached value.

Implementation

@override

/// Removes the value from SharedPreferences and clears the cached value.
Future<void> removeValue(SharedPreferencesAsync prefs) async {
  await super.removeValue(prefs);
  _cachedValue = null;
}