scaled method Null safety

Matrix2 scaled(
  1. double scale
)

Create a copy of this scaled by scale.

Implementation

Matrix2 scaled(double scale) => clone()..scale(scale);