not method

void not()

"!" on the inner bool value. e.g. val = !val;

Implementation

void not() {
  _val = !_val;
}