scale method Null safety

void scale(
  1. double arg
)

Scale this by arg.

Implementation

void scale(double arg) {
  _v2storage[1] = _v2storage[1] * arg;
  _v2storage[0] = _v2storage[0] * arg;
}