intercardinalNeighbors property

List<Vec> intercardinalNeighbors

The four Vecs surrounding this one to the northeast, southeast, southwest, and northwest.

Implementation

List<Vec> get intercardinalNeighbors =>
    [for (var direction in Direction.intercardinal) this + direction];