scaled method

Vector2 scaled (double arg)

Return a copy of this scaled by arg.

Implementation

Vector2 scaled(double arg) => clone()..scale(arg);