Matrix3 getNormalMatrix()

Returns the normal matrix from this homogeneous transformation matrix. The normal matrix is the transpose of the inverse of the top-left 3x3 part of this 4x4 matrix.

Source

Matrix3 getNormalMatrix() => new Matrix3.identity()..copyNormalMatrix(this);