Matrix2.identity constructor Null safety

Matrix2.identity()

Identity matrix.

Implementation

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