trace method Null safety

double trace()

Trace of the matrix.

Implementation

double trace() {
  var t = 0.0;
  t += _m2storage[0];
  t += _m2storage[3];
  return t;
}