length property

int length

Total number of elements in the grid.

Implementation

int get length => width * height;