setHasUserConsent static method
Sets whether or not the user has provided consent for interest-based advertising.
Implementation
static void setHasUserConsent(bool hasUserConsent) {
channel.invokeMethod('setHasUserConsent', {
'value': hasUserConsent,
});
}