hasUserConsent static method

Future<bool?> hasUserConsent()

Checks if the user has set a consent flag.

Consent Flags in GDPR and Other Regions

Implementation

static Future<bool?> hasUserConsent() {
  return channel.invokeMethod('hasUserConsent');
}