remove method

Future<bool> remove(
  1. String key
)

Implementation

Future<bool> remove(String key) async{
  SharedPreferences pref = _pref!;
  return pref.remove(key);
}