token static method

Future<String> token()

Implementation

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