scaled method

Vector2 scaled(
  1. double arg
)

Return a copy of this scaled by arg.

Implementation

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