Vector2 constructor

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

Implementation

Vector2(double x, double y) : super.fromList([x, y]);