equalsXY method

bool equalsXY(
  1. num x,
  2. num y
)

Implementation

bool equalsXY(num x, num y) => this.x == x && this.y == y;