revealedCount property
int
get
revealedCount
How many cells are on the map.
Implementation
int get revealedCount =>
Iterable<int>.generate(grid.cellCount).where(isRevealed).length;
How many cells are on the map.
int get revealedCount =>
Iterable<int>.generate(grid.cellCount).where(isRevealed).length;