clearLocations method Null safety

void clearLocations()

Clear all current locations

Implementation

void clearLocations() {
  points.clear();
}