Matrix2.copy constructor Null safety

Matrix2.copy(
  1. Matrix2 other
)

Copies values from other.

Implementation

factory Matrix2.copy(Matrix2 other) => Matrix2.zero()..setFrom(other);