remove method

Future remove()

Implementation

Future remove() async {
  final prefs = await SharedPreferences.getInstance();
  await prefs.remove(key);
  userSubject.add(null);
}