setIsUserConsent static method
Set whether user has given consent (GDPR)
⚠️ Warning: GDPR is not yet supported by CloudX servers. Please contact CloudX if you need GDPR support. CCPA is fully supported.
Implementation
static Future<void> setIsUserConsent(bool hasConsent) async {
await _invokeMethod('setIsUserConsent', {'isUserConsent': hasConsent});
}