Matrix2 constructor Null safety

Matrix2(
  1. double arg0,
  2. double arg1,
  3. double arg2,
  4. double arg3
)

New matrix with specified values.

Implementation

factory Matrix2(double arg0, double arg1, double arg2, double arg3) =>
    Matrix2.zero()..setValues(arg0, arg1, arg2, arg3);