getDataDomeCookie method
Returns the DataDome cookie. The returned value should be a string representing the cookie with its value and its attributes. Example: "datadome=xxxx; Max-Age=31536000; Domain=.yourdomain.com; Path=/; Secure; SameSite=Lax"
Implementation
Future<String> getDataDomeCookie() async {
final prefs = await SharedPreferences.getInstance();
return prefs.getString('co.datadome.cookie')?? '';
}