getToken method

Future<String> getToken()

Implementation

Future<String> getToken() async {
  SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
  return sharedPreferences.getString("dd_gql_token") ?? '';
}