transpose method Null safety

void transpose()

Implementation

void transpose() {
  isLU = false;
  _columns = rows;
  if (length <= 2) {
    return;
  }
  final last = length - 1;
  _internalMove(1, last, (i) => i * columns % last);
}