VecPoint constructor

VecPoint([
  1. int length = 0,
  2. int x = 0,
  3. int y = 0
])

Implementation

factory VecPoint([int length = 0, int x = 0, int y = 0]) => VecPoint.generate(length, (i) => Point(x, y));