reset method

void reset()

Restore defaults (used on logout/account switch and in tests) — otherwise a previous tenant's OFF survives into the next session.

Implementation

void reset() {
  final before = actionIntelligenceEnabled;
  final beforeAll = _fingerprint;
  _flagEnabled = true;
  _versionAllowed = true;
  _localCache = true;
  _cacheSync = true;
  _dataCapture = true;
  _transmitOnHiddenWidget = true;
  _awakeningEffect = true;
  _activeBorderGlow = true;
  _highlighting = true;
  _clickTracking = true;
  _nativeBridge = true;
  _activeBorderGradient = null;
  _highlightGradient = null;
  _awakeningGradient = null;
  _effects = ActionEffects.none;
  _notifyIfChanged(before,
      anyChanged: !_sameFingerprint(beforeAll, _fingerprint));
}