scaled method Null safety

Vector4 scaled(
  1. double arg
)

Create a copy of this scaled by arg.

Implementation

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