transposed method Null safety

Matrix2 transposed()

Returns the tranpose of this.

Implementation

Matrix2 transposed() => clone()..transpose();