recordObstacle method

void recordObstacle(
  1. GpsCoordinates coordinates
)

Implementation

void recordObstacle(GpsCoordinates coordinates) => obstacles.add(coordinates);