Vector2 constructor

const Vector2(
  1. double x,
  2. double y
)

Implementation

const Vector2(this.x, this.y);