flip method

void flip(
  1. int x,
  2. int y
)

Implementation

void flip(int x, int y) => set(x, y, !get(x, y));