remove method

Future<bool> remove(
  1. String key
)

Implementation

Future<bool> remove(String key) async {
  SharedPreferences prefs = await _prefs;
  try {
    return await prefs.remove(key);
  } catch (e) {
    throw Exception(
        "It wasn't possible to remove this item from the auth. This can be triggered if the auth no longer exists or if the key is not correct. ");
  }
}