Vector constructor

Vector([
  1. num x = 0,
  2. num y = 0
])

Implementation

Vector([this.x = 0,this.y = 0]);