toggle method

void toggle()

Toggles the boolean value of the Rx object between true and false.

Implementation

void toggle() {
  call(!value);
  // return this;
}