asMatrix property Null safety

int? asMatrix

If this is a matrix descriptor, give the matrix number, where A is 0.

Implementation

int? get asMatrix {
  if ((internal >> 12) == _matrixMantissa) {
    return exponent;
  } else {
    return null;
  }
}