VecI16 constructor

VecI16([
  1. int length = 0,
  2. int value = 0
])

Implementation

factory VecI16([int length = 0, int value = 0]) => VecI16.generate(length, (i) => value);