Matrix2.fromList constructor Null safety
New matrix from values
.
Implementation
factory Matrix2.fromList(List<double> values) =>
Matrix2.zero()..setValues(values[0], values[1], values[2], values[3]);
New matrix from values
.
factory Matrix2.fromList(List<double> values) =>
Matrix2.zero()..setValues(values[0], values[1], values[2], values[3]);