updateConsent method

void updateConsent(
  1. bool newValue
)

Implementation

void updateConsent(bool newValue) {
  _isConsent = newValue;
}