isBefore method

bool isBefore(
  1. CellOffset other
)

Whether this position comes before other in reading order.

Implementation

bool isBefore(CellOffset other) {
  return y < other.y || (y == other.y && x < other.x);
}