gettokenfunction method

dynamic gettokenfunction()

Implementation

gettokenfunction() async {
  SharedPreferences _prefs = await SharedPreferences.getInstance();
  currentUserToken = _prefs.getString('currentUserToken');
  print('Token => ${currentUserToken}');
}