setGDPRPurposeConsents method

Future<void> setGDPRPurposeConsents(
  1. String purposeConsents
)

Sets the GDPR purpose consents.

The purposeConsents parameter is a string representing the purpose consents for GDPR compliance. A valid Binary String: The '0' or '1' at position n – where n's indexing begins at 0 – indicates the consent status for purpose ID n+1; false and true respectively. eg. '1' at index 0 is consent true for purpose ID 1

Returns a Future that completes when the purpose consents are set.

Implementation

Future<void> setGDPRPurposeConsents(String purposeConsents) {
  return _instance.setGDPRPurposeConsents(purposeConsents);
}