setUpper2x2 method Null safety

void setUpper2x2(
  1. Matrix2 arg
)

Sets the upper 2x2 of the matrix to be arg.

Implementation

void setUpper2x2(Matrix2 arg) {
  final argStorage = arg._m2storage;
  _m3storage[0] = argStorage[0];
  _m3storage[1] = argStorage[1];
  _m3storage[3] = argStorage[2];
  _m3storage[4] = argStorage[3];
}