empty property
An empty grid of size gridSize.
Implementation
List<List<(GpsCoordinates, AutonomyCell)>> get empty => [
for (int i = 0; i < gridSize; i++) [
for (int j = 0; j < gridSize; j++)
(GpsCoordinates(), AutonomyCell.empty),
],
];
An empty grid of size gridSize.
List<List<(GpsCoordinates, AutonomyCell)>> get empty => [
for (int i = 0; i < gridSize; i++) [
for (int j = 0; j < gridSize; j++)
(GpsCoordinates(), AutonomyCell.empty),
],
];