setGDPRConsentRequired method

Future<void> setGDPRConsentRequired(
  1. bool isConsentRequired
)

Sets whether GDPR consent is required.

This method is used to set whether GDPR consent is required for the app. If isConsentRequired is true, it means that GDPR consent is required. If isConsentRequired is false, it means that GDPR consent is not required.

Implementation

// ignore: avoid_positional_boolean_parameters
Future<void> setGDPRConsentRequired(bool isConsentRequired) {
  return _instance.setGDPRConsentRequired(isConsentRequired);
}