numSquares property

int numSquares

The total number of squares on a board of this size.

Implementation

int get numSquares => h * v;