Square constructor

const Square(
  1. int row,
  2. int col
)

Constructs a new Square for row and col.

Implementation

const Square(this.row, this.col);