getToken static method

dynamic getToken()

Implementation

static getToken() async {
  var shared = await SharedPreferences.getInstance();
  return shared.getString('token');
}