toggleActive method

  1. @mustCallSuper
Comp<T> toggleActive()
inherited

Toggles the active state and fires the activation hook.

Implementation

@mustCallSuper
E toggleActive() {
  _active = !_active;
  _doOnActivate();
  return self;
}