getRow method Null safety
- int row
Gets the row
of the matrix
Implementation
Vector2 getRow(int row) {
final r = Vector2.zero();
final rStorage = r._v2storage;
rStorage[0] = _m2storage[index(row, 0)];
rStorage[1] = _m2storage[index(row, 1)];
return r;
}