Matrix2.identity constructor

Matrix2.identity()

Identity matrix.

Implementation

factory Matrix2.identity() => new Matrix2.zero()..setIdentity();