flip method

void flip([
  1. int? x,
  2. int? y
])

Flips every bit in the matrix.

Implementation

void flip([int? x, int? y]) {
  if (x == null || y == null) {
    _flipAll();
  } else {
    _flipPoint(x, y);
  }
}