removeKey function

Future<bool> removeKey(
  1. String key
)

remove key from SharedPref

These codes are from nb_utils package.

Implementation

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