Matrix3.fromList constructor Null safety

Matrix3.fromList(
  1. List<double> values
)

New matrix from values.

Implementation

factory Matrix3.fromList(List<double> values) => Matrix3.zero()
  ..setValues(values[0], values[1], values[2], values[3], values[4],
      values[5], values[6], values[7], values[8]);