setValues method

  1. @override
Vector2 setValues(
  1. double x,
  2. double y
)
override

Implementation

@override
Vector2 setValues(double x, double y) {
  this.x = x.toDouble();
  this.y = y.toDouble();

  return this;
}