setActive method

  1. @mustCallSuper
E setActive(
  1. bool active
)

Sets the active state to active and fires the activation hook.

Implementation

@mustCallSuper
E setActive(bool active) {
  _active = active;
  _doOnActivate();
  return self;
}