removeToken function
Removes the stored authentication token from SharedPreferences.
Implementation
Future<void> removeToken() async {
SharedPreferences sp = await SharedPreferences.getInstance();
sp.remove(SharedPrefrenceStorage.token); // Delete the stored token.
}