flip method

void flip()

Implementation

void flip() {
  value = !value;
}