set method Null safety

  1. @override
void set(
  1. int row,
  2. int col,
  3. Value v
)
override

Implementation

@override
void set(int row, int col, Value v) {
  checkIndices(row, col);
  final swaps = _rowSwaps;
  if (swaps != null) {
    row = swaps[row];
  }
  _values[row * columns + col] = v;
}