operator * method Null safety

Vector4 operator *(
  1. double scale
)

Scale.

Implementation

Vector4 operator *(double scale) => clone()..scale(scale);