removeValue method

Future<void> removeValue(
  1. SharedPreferencesAsync prefs
)

Removes the value from SharedPreferences.

Implementation

Future<void> removeValue(SharedPreferencesAsync prefs) async {
  await prefs.remove(key);
}