squaresForRegion method

Iterable<int> squaresForRegion(
  1. Region region
)

Returns all of the squares in region. If you want to find the squares for an Area, use squaresForArea().

Implementation

Iterable<int> squaresForRegion(Region region) => region.squares(this);