setGDPRConsentString method

Future<void> setGDPRConsentString(
  1. String consentString
)

Sets the GDPR consent string.

The consentString parameter is a string representing the user's consent for GDPR. This method is used to set the GDPR consent string for the application. It returns a Future that completes when the consent string is set.

Implementation

Future<void> setGDPRConsentString(String consentString) {
  return _instance.setGDPRConsentString(consentString);
}