updateConsent method

void updateConsent(
  1. bool newValue
)

Implementation

void updateConsent(bool newValue) {
  _singleton._hasConsented = newValue;
  _singleton..evaluateTroubleShootingConditions();
}