onConsentExpandClicked method Null safety

dynamic onConsentExpandClicked()

Implementation

onConsentExpandClicked() {
  this._isConsentExpand = !this._isConsentExpand;
  this._isConsentExpandSC.add(this._isConsentExpand);

  if (this._isConsentExpand) {
    this.innerConsentExpandOpened();
  } else {
    this.innerConsentExpandClosed();
  }
}