toggle method

void toggle()

Toggles the boolean feature state.

Implementation

void toggle() {
  set(!value);
}