set method

void set(
  1. num x,
  2. num y
)

Implementation

void set(num x, num y) {
  this.x = x;
  this.y = y;
}