removeKey function

Future<bool> removeKey(
  1. String key
)

remove key from SharedPref

Implementation

Future<bool> removeKey(String key) async {
  return await sharedPreferences.remove(key);
}