setRequiresConsent method

CountlyConfig setRequiresConsent(
  1. bool shouldRequireConsent
)

Set if consent should be required

Implementation

CountlyConfig setRequiresConsent(bool shouldRequireConsent) {
  _shouldRequireConsent = shouldRequireConsent;
  return this;
}