setConsent method
Sets the applicable end user consent state. 'default' value for 'adStorageConsentGranted' & 'analyticsStorageConsentGranted' is 'true'
Implementation
Future<void> setConsent({
bool? adStorageConsentGranted,
bool? analyticsStorageConsentGranted,
}) async {
await _delegate.setConsent(
adStorageConsentGranted: adStorageConsentGranted,
analyticsStorageConsentGranted: analyticsStorageConsentGranted,
);
}