scaled method Null safety

Matrix4 scaled(
  1. dynamic x,
  2. [double? y,
  3. double? z]
)

Create a copy of this scaled by a Vector3, Vector4 or x,y, and z.

Implementation

Matrix4 scaled(dynamic x, [double? y, double? z]) => clone()..scale(x, y, z);